posted Apr 27, 2009, 7:15 AM by G. Maze ‎(admin)‎
No more passwords !

Create a public/private key set with the command:
ssh-keygen -t rsa

then add the public key under ~/.ssh/ to the remote file user@remotemachine:~/.ssh/authorized_keys
with the perfect script you'll find at the bottom of the page (source
ssh-copy-id -i ~/.ssh/ user@remotemachine

The keychain app (mac leopard only) will record the passphrase then you won't need to type anything anymore to login

    81  15:08   ssh-agent
    82  15:08   ssh-add
    83  15:08   setenv SSH_AUTH_SOCK /tmp/ssh-ZlPOL10214/agent.10214;
    84  15:08   setenv SSH_AGENT_PID 10215;
    85  15:08   echo Agent pid 10215;
    86  15:08   ssh-add

G. Maze (admin),
Apr 27, 2009, 7:22 AM