SSH - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?
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 192.168.2.225 The authenticity of host '192.168.2.225 (192.168.2.225)' 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 '192.168.2.225' (RSA) to the list of known hosts. [email protected] password: Last login: Sat Mar 13 22:49:17 2010 from rixni01.cornac.net [root@ebs121 ~]#
From the Xterm
$ ssh -Y [email protected] [email protected]''s password: Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Sat May 22 18:38:07 2010 from rixni01.cornac.net /usr/bin/xauth: creating new authority file /root/.Xauthority