ssh using keys
How to Create 4096bit long SSH protocol v2 key
Command in a console
ssh-keygen -b 4096 -f .ssh/id_rsa4096_mylabel -C myuser@mylabel_4096 -o -a 500
See
http://blog.patshead.com/2013/09/generating-new-more-secure-ssh-keys.html
Then you can connect through ssh indicating your private key in the command run at he terminal:
Command in a console
ssh -i ~/.ssh/id_rsa4096_mylabel myuser@foo.example.com
Note for VHIR:
In order to reach a server through ssh behind a proxy, you need to set the server name at the .ssh/config as usual, plus indicate there the private keyfile that you want to use for the connection to that server. For instance:
contents of ~/.ssh/config
Host *.example.com ProxyCommand corkscrew proxyserver port %h %p IdentityFile ~/.ssh/id_rsa4096_mylabel