Issues
No Connection - Firewall
Check syslog to see if the connnections are being blocked by the
Uncomplicated Firewall (UFW):
$ cat /var/log/syslog | grep UFW [UFW BLOCK] IN=eth0 . SRC=192.168.1.71 DST=192.168.1.69 . PROTO=TCP . DPT=22
To unblock SSL connections:
ufw allow 22/tcp
Delay connecting
Reverse DNS
If you experience a delay when making an ssh connection (in my case, using SSH
keys), then it could be a reverse DNS issue. To solve the problem, I added
my IP address to the servers /etc/hosts file.
ssh-add
Could not open a connection to your authentication agent
According to passwordless ssh, your shell isn’t running under ssh-agent:
exec ssh-agent bash
patrick@buzz:~$ ssh-add
I am really not sure what the problem is here, but ssh-add is now working.
The agent has no identities
If ssh-add -L returns The agent has no identities, then just run
ssh-add:
$ ssh-add
Identity added: /home/patrick/.ssh/id_rsa (/home/patrick/.ssh/id_rsa)