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

Card Puncher Data Processing

About

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

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.
[email protected] 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 [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





Discover More
Linux - Remote Client

How to connect to a linux system in a remote mode ? In console mode, with the help of this network protocol : ssh telnet In graphic mode: the X Windows System Virtual Network Computing (VNC)...
Card Puncher Data Processing
SSH - How to made an Ssh connection in a shell (for instance from Cygwin, CygwinX) ?

How to made an SSH connection to a Linux Operating system with a shell from a term, xterm of Cygwin, CygwinX ? Install the ssh component of Cygwin start the console and use this syntax: From...
Card Puncher Data Processing
X11 - Xhost

xhost is an X client software which is a part of the X11 security. It manage the list of the remote server that can make a connection with the local x server You use it in a xterm terminal before you...



Share this page:
Follow us:
Task Runner