User login

SSH agent forwarding

See http://data.agaric.com/node/107 for the right way.

For having your public key somehow let you be able to use your repositories and stuff. It's good magic.

.ssh forwarding agent forward ssh-agent

goes in /home/username/.ssh/config

An example:

host sciencecollab
    ForwardAgent yes
    hostname 123.456.789.250
    user ben
    identityfile /Users/ben/.ssh/id_rsa
    compression yes
    protocol 2
    port 22
host gmixdev
    ProxyCommand ssh ben@server2.example.com /usr/bin/netcat dev.example.org 22
    User set

The other thing is a totally different example, but cool for accessing one computer via another.

You can make sure ssh-agent is running with:
ssh-agent

SSH_AUTH_SOCK=/tmp/ssh-hjPqoQ7507/agent.7507; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7508; export SSH_AGENT_PID;
echo Agent pid 7508;