Contents[Hide]

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
         [command] 

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 192.168.148.142 and as user root:

ssh -l root 192.168.148.142 

or

ssh 
 This email address is being protected from spambots. You need JavaScript enabled to view it.
  

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

ssh 
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 _remote 

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

ssh -vvv 
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 _remote 

Free Linux eBooks

Linux Technical Writer

LinuxCareer, Casual, Volunteer, Home Based

Do you wish to join Linuxcareer.com project and find out how to be a technical writer? We are now looking for volunteers to help us write tutorials and share them with Linux community

  • Casual work from home
  • 10 articles / year

Any active Linuxcareer.com’s author will be entitled to following benefits:

  • actively participate in Linuxcareer.com’s decision making process
  • feedback and help

APPLY

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