Help for this page

Select Code to Download


  1. or download this
    %> ssh-keygen -b 1024 -t RSA
    <key in a good passphrase twice>
    
  2. or download this
    cat .ssh/id_rsa.pub | ssh -l<user> <target_ip> '[ -d .ssh ] || mkdir .
    +ssh ; chmod 700 .ssh ; cat - >> ~/.ssh/authorized_keys'
    
  3. or download this
    exec /usr/bin/ssh-agent <Window Manager of choice>
    
  4. or download this
    SSHAGENT=$(which ssh-agent)
    SSHAGENTARGS="-s"
    ...
    eval `$SSHAGENT $SSHAGENTARGS`
    trap "kill $SSH_AGENT_PID" 0
    fi
    
  5. or download this
    %>ssh-add
    <key in your passphrase>