ssh
Last Updated on Sunday, 19 December 2010 10:52
| 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, 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 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















