cakebox
cakebox copied to clipboard
Error reading response length from authentication socket
The following code in check-ssh-agent.sh:
# Show loaded keys
echo "SSH Forwarded keys:"
OUTPUT=$(ssh-add -l 2>&1)
EXITCODE=$?
echo "=> $OUTPUT"
includes an unhandled error with message from ssh-add -l command:
SSH Forwarded keys:
=> Error reading response length from authentication socket.
It actually displays the ssh-agent output as-is (and in this case exactly as expected).
I do empathize with the confusion.... this will be clarified.