GNU/Linux Command – SSH

ssh — OpenSSH Secure SHell Client

Summary:

ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin, rsh and telnet, and provide secure encrypted communications between two untrusted hosts over an insecure network. The SSH Daemon must be running in the Remote computer to successfully connect to it.

Examples:
$ ssh -l user1 MyServer -- Connect to MyServer with UserName user1. $ ssh user1@MyServer -- Same as Above. $ ssh MyServer -- Connect to MyServer with current login name. $ ssh -c 3des MyServer -- Use 3DES encryption (Default). $ ssh MyServer -p 22 -- Connect to MyServer thru Port #22(Default). $ ssh -X MyServer -- Connect to MyServer with X11 Event forwarding.Using this, You can run X Applications from remote machine. $ ssh -v MyServer -- Show more debug messages. $ ssh MyServer 'who' -- Connect and run the `who' command inMyServer and exit. $ ssh -L 2525:MyServer:25 user1@MyServer -- Port forwarding.
Read: man ssh

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: