SSH for Linux

'Note: this page is a mess - I'll clean it up the next time I look into the subject'

Examples
ssh dolomit.but.auc.dk: ;
 * execution of multiple commands without a script:

Key Generation
Example:

$ cd ~/.ssh

$ ssh-keygen -b 1024 -f grouproom -C "windows box in grouproom" -t rsa |        |                    |                  |               1024 bit      |             comment in keyfile        | filename of keyfile                      create RSA key

$ cat [name].pub >>~/.ssh/authorized_keys $ chmod 600 ~/.ssh/authorized_keys
 * copy the contents of the public key to .ssh/authorized_keys
 * protect your authorized_keys file

Configuration
~/.ssh/config:

Host sjov Hostname sjov.langt.domain.navn.tld User benny

Host u Hostname underligt.langt.domain.navn.tld User viggo