eval `ssh-agent -s` ssh-add
I can log in to a "server" via ssh without pwd.
Question: But If I open a new gnome-terminal I have to do this again, why?
Using RHEL Desktop 6.6 with GNOME.
UPDATE #1: interesting, another RHEL Desktop doesn't runs ssh-agent, it only needs an "ssh-add" per boot. But issuing an "ssh-add" on the "bad desktop" only gives an error message: "Could not open a connection to your authentication agent."
UPDATE #2: SSH_AUTH_SOCK is missing after a fresh reboot, maybe that is the problem?:
[user@notebook ~]$ env | grep SSH SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass [user@notebook ~]$