Pages

Friday, October 7, 2011

How to connect to remote Ubuntu ssh server on Fedora 15

I've just installed the Fedora 15 Linux on my Windows 7 via VirtualBox. Now I will show you how to connect to my remote Ubuntu server from my Fedora 15 via Terminal. The way I am using to connect to my Ubuntu server is via ssh. ssh is a secure remote connection that is supported by default on most Linux distribution. 
In order to use ssh to connect to remote server, follow these steps.
Step 1. Open Terminal
Step 2. Type the following command
ssh root@192.168.1.1
Change the "root" with your actual username and change the IP address with your actual server address or hostname.

Then you will see RSA Key Fingerprint confirmation. Type yes to accept.
Then you will see like this

[root@fedora dhani]# ssh dhani@192.168.1.254
The authenticity of host '192.168.1.254 (192.168.1.254)' can't be established.
RSA key fingerprint is ef:3f:af:be:9d:08:ea:24:ce:35:ff:44:23:23:64:78.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.254' (RSA) to the list of known hosts.
dhani@192.168.1.254's password:
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic i686)

 * Documentation:  https://help.ubuntu.com/

Last login: Fri Oct  7 04:10:20 2011 from 192.168.1.222