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

About

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

Articles Related

Steps

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 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.
root@192.168.2.225s password:
Last login: Sat Mar 13 22:49:17 2010 from rixni01.cornac.net
[root@ebs121 ~]#

From the Xterm

From the Xterm of CygwinX

$ ssh -Y root@192.168.2.223
root@192.168.2.223''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
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at del.icio.us
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Digg
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Ask
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Google
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at StumbleUpon
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Technorati
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Live Bookmarks
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Yahoo! Myweb
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Facebook
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Yahoo! Bookmarks
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at Twitter
  • Bookmark "Linux - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?" at myAOL
 
linux/cygwin_ssh.txt · Last modified: 2012/04/28 22:55 by gerardnico