ssh from 1 ubuntu box to another ubuntu box

Posted by michael on Super User See other posts from Super User or by michael
Published on 2010-05-03T15:22:50Z Indexed on 2010/05/03 15:28 UTC
Read the original article Hit count: 271

Filed under:

Hi,

I have 2 ubuntu boxes in a WiFi network. Below is the 'ifconfig' of my destination machine. But in my source machine, I tried 'ssh 192.168.1.2' I get connection refused.

$ ifconfig
eth0      Link encap:Ethernet  HWaddr c8:0a:a9:4d:d6:6a  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
      Interrupt:35 

lo        Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:16436  Metric:1
      RX packets:4508 errors:0 dropped:0 overruns:0 frame:0
      TX packets:4508 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:330441 (330.4 KB)  TX bytes:330441 (330.4 KB)

 wlan0     Link encap:Ethernet  HWaddr 00:23:14:32:e8:dc  
      inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
      inet6 addr: fe80::223:14ff:fe32:e8dc/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:319828 errors:0 dropped:0 overruns:0 frame:0
      TX packets:618371 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:30642011 (30.6 MB)  TX bytes:921522542 (921.5 MB)

How to set up so that I can ssh from 1 box to another?

© Super User or respective owner

Related posts about ubuntu