thresh@snowwhite ~ $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-aruNq18086/agent.18086; export SSH_AUTH_SOCK; SSH_AGENT_PID=18087; export SSH_AGENT_PID; echo Agent pid 18087; thresh@snowwhite ~ $ SSH_AUTH_SOCK=/tmp/ssh-aruNq18086/agent.18086; export SSH_AUTH_SOCK; thresh@snowwhite ~ $ SSH_AGENT_PID=18087; export SSH_AGENT_PID; thresh@snowwhite ~ $ echo Agent pid 18087; Agent pid 18087 thresh@snowwhite ~ $ ssh-add Identity added: /home/thresh/.ssh/id_dsa (/home/thresh/.ssh/id_dsa) thresh@snowwhite ~ $ ll .ssh/id_dsa -rw------- 1 thresh thresh 668 Июл 23 19:19 .ssh/id_dsa thresh@snowwhite ~ $ ssh foo.tld thresh@foo.tld's password: ssh: Permission denied, please try again. thresh@foo.tld's password: thresh@snowwhite ~ $