feed-image  ISSN 1836-5930



Receive Your Complimentary Guide to Linux NOW!


A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)




Poll

Do you care about your privacy when using a FACEBOOK?
 

linuxconfig.org
is hosted by:



Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
All For Linux

ssh
Article Index
1. Name
2. Synopsis
3. Frequently used options
4. Examples

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, authentica‐
tion, 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 root@192.168.148.142 
Feel free to specify host name instead of IP address. To ssh to linuxconfig.org_remote as a root user we can use:
ssh root@linuxconfig.org_remote 
For troubleshooting your ssh service use -vvv option as follows:
ssh -vvv root@linuxconfig.org_remote