|
creating the keys
- create the key pair:
- ssh-keygen -t RSA -b 2048
- use default options an no passphrase
- symlink to set your default identity
- ln -s ~/.ssh/id_rsa ~/.ssh/identity
- ln -s ~/.ssh/id_rsa.pub ~/.ssh/identity.pub
log on to a remote linux host- copy your public key to the remote host
- you're done!
log on from a remote linux host- copy your private key to the remote host
- scp ~/.ssh/identity remotehost:~/.ssh/identity
- beware of permissions and what admins can see this!!
- make sure your public key is available on the local host
- you're done!
log on from a remote windows host with puttyfrom the windows host: - make sure pscp, puttygen, and putty are installed
- http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
- copy the private key to your local computer
- pscp remotehost:~/.ssh/identity .
- be sure to put the key in a safe place and secure the file!!
- convert your key to a .ppk file
- start puttygen
- "convert->import" your private key (identity)
- "Save Private Key" to identity.ppk
- be sure you put the .ppk in a safe place!

- Configure your session to use the private key
- start putty
- load your session
- under "Connection->SSH->Auth, disable "keyboard interactive" and browse for your .ppk file
- save your session
|