1. Name

ssh [man page] - OpenSSH SSH client (remote login program)

2. Synopsis

ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address]
         [-c cipher_spec] [-D [bind_address:]port]
         [-e escape_char] [-F configfile]
         [-i identity_file] [-L  [bind_address:]
         port:host:hostport] [-l login_name]
         [-m mac_spec] [-O ctl_cmd] [-o option]
         [-p port] [-R [bind_address:]
         port:host:hostport] [-S ctl_path]
         [-w tunnel:tunnel] [user@]hostname

3. Frequently used options

-l      login_name
-v      Verbose mode.  Causes ssh to print debugging
        messages about its progress.  This is helpful
        in debugging connection, authentication, 
        and configuration problems.  Multiple 
        -v options increase the verbosity. 
        The maximum is 3. 

4. Examples

ssh to a box with an IP Address and as user root:

ssh -l root 



Feel free to specify host name instead of IP address. To ssh to linuxconfig.org_remote as a root user we can use:

ssh _remote 

For troubleshooting your ssh service use -vvv option as follows:

ssh -vvv _remote 

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top