[Valid RSS]

SSH Cheat Sheet

ShareTask: login to remote host with username and password

Login to host:

ssh  -l  [login] -p [port]

Task: login to remote host using a configured alias

First of all you need to configure the alias. The SSH configuration file is normlly stored in ~/.ssh/config. This is an example.

host

 Hostname [hostname]

 Port [port]

 ForwardAgent [yes|no]

 ForwardX11 [yes|no]

 User [login]

Once you have an alias, you can [...]