SSH - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?

> SSH (Secure Shell) - Remote Access

1 - About

How to made an SSH connection to a Linux Operating system with a shell from a term, xterm of Cygwin, CygwinX ?


3 - Steps

3.1 - From Cygwin

Install the ssh component of Cygwin start the console and use this syntax:

Rixni@rixni01 ~
$ ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-I pkcs11] [-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 host:port] [-w local_tun[:remote_tun]]
           [user@]hostname [command]
Rixni@rixni01 ~
$ ssh -l root
The authenticity of host ' (' can''t be established.
RSA key fingerprint is fd:5f:9e:94:0e:6a:b2:a4:40:f9:0d:7d:24:d2:80:8b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '' (RSA) to the list of known hosts.
root@ password:
Last login: Sat Mar 13 22:49:17 2010 from
[root@ebs121 ~]#

3.2 - From the Xterm

From the Xterm of CygwinX

$ ssh -Y root@
root@''s password: 
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Sat May 22 18:38:07 2010 from
/usr/bin/xauth:  creating new authority file /root/.Xauthority