Re: [Linux-users] ssh connection timed out

2010-11-15 Thread C. Falconer
Roger Searle wrote, On 11/15/2010 05:00 PM:
 ro...@neptune:~$ sudo netstat -anltp | grep sshd
 tcp6   0  0 :::22   :::*
 LISTEN  6464/sshd


Do you have a line that looks like this:

tcp0  0 :::22   :::* 
 LISTEN  1688/sshd



Also look at tcpdump to see if the packets are hitting the right box


On neptune
sudo tcpdump -i eth0 port 22

and in another xterm try your ssh session attempt.
^C to stop it.




-- 
Craig Falconer
   The Total Team - Secure Networks for Serious Business
   Office: 0800 888 326 / +643 974 9128
   Email: workor...@totalteam.co.nz
   Web: http://www.totalteam.co.nz/


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] ssh connection timed out

2010-11-15 Thread Steve Holdoway
IIRC ( having given up on vmware - is virtualbox an option? ) you can
create up to 3 network connections, one of which offers networking to
the host, and one is bridged. Is the bridged network set up on your
Ubuntu client?

Cheers,

Steve
On Mon, 2010-11-15 at 17:00 +1300, Roger Searle wrote:
 Hi, I am trying to ssh to a Ubuntu 8.04.4 LTS virtual machine - 
 temporary host is an XP box running VMWare Server 2.02.  Previously when 
 hosted on an ubuntu box I could ssh to it, whether this move has 
 something to do with this breakage or not I'm unsure.
 
 The VM appears to function normally in other ways.  I can ping it from 
 the network by name or IP address, I can ping from it by name or IP 
 address.  I can ssh from this box to another on the network.
 
 I believe the daemon is running and listening on port 22:
 ro...@neptune:~$ sudo /etc/init.d/ssh restart
   * Restarting OpenBSD Secure Shell server 
 sshd  
  
 [ OK ]
 ro...@neptune:~$ sudo netstat -anltp | grep sshd
 tcp6   0  0 :::22   :::*
 LISTEN  6464/sshd
 
 Nothing relevant in iptables:
 ro...@neptune:~$ sudo iptables  -L
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination
 
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination
 
 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 
 Nothing but commented lines in /etc/hosts.allow and hosts.deny.
 
 Error is always this:
 ro...@mercury:~$ ssh neptune
 ssh: connect to host neptune port 22: Connection timed out
 (same with ssh ro...@neptune or ssh ip-address)
 
 This also:
 ro...@mercury:~$ telnet neptune 22
 Trying 10.2.1.202...
 telnet: Unable to connect to remote host: Connection timed out
 
 Here endeth my efforts.  Can anyone suggest where to from here?
 
 Cheers,
 Roger
 
 
 
 
 ___
 Linux-users mailing list
 Linux-users@lists.canterbury.ac.nz
 http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


-- 
Steve Holdoway BSc(Hons) MNZCS st...@greengecko.co.nz
http://www.greengecko.co.nz
MSN: st...@greengecko.co.nz
Skype: sholdowa


smime.p7s
Description: S/MIME cryptographic signature
___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] ssh connection timed out

2010-11-14 Thread Nick Rout
On Mon, Nov 15, 2010 at 5:00 PM, Roger Searle roger.sea...@gmail.com wrote:
 Hi, I am trying to ssh to a Ubuntu 8.04.4 LTS virtual machine -
 temporary host is an XP box running VMWare Server 2.02.  Previously when
 hosted on an ubuntu box I could ssh to it, whether this move has
 something to do with this breakage or not I'm unsure.

 The VM appears to function normally in other ways.  I can ping it from
 the network by name or IP address, I can ping from it by name or IP
 address.  I can ssh from this box to another on the network.

 I believe the daemon is running and listening on port 22:
 ro...@neptune:~$ sudo /etc/init.d/ssh restart
  * Restarting OpenBSD Secure Shell server
 sshd
 [ OK ]
 ro...@neptune:~$ sudo netstat -anltp | grep sshd
 tcp6       0      0 :::22                   :::*
 LISTEN      6464/sshd

Only seems to be running on tcp6??

___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


Re: [Linux-users] ssh connection timed out

2010-11-14 Thread MafiaGeek
What vm software are you using?

On 15/11/2010 5:00 p.m., Roger Searle wrote:
 Hi, I am trying to ssh to a Ubuntu 8.04.4 LTS virtual machine -
 temporary host is an XP box running VMWare Server 2.02.  Previously when
 hosted on an ubuntu box I could ssh to it, whether this move has
 something to do with this breakage or not I'm unsure.

 The VM appears to function normally in other ways.  I can ping it from
 the network by name or IP address, I can ping from it by name or IP
 address.  I can ssh from this box to another on the network.

 I believe the daemon is running and listening on port 22:
 ro...@neptune:~$ sudo /etc/init.d/ssh restart
* Restarting OpenBSD Secure Shell server
 sshd
 [ OK ]
 ro...@neptune:~$ sudo netstat -anltp | grep sshd
 tcp6   0  0 :::22   :::*
 LISTEN  6464/sshd

 Nothing relevant in iptables:
 ro...@neptune:~$ sudo iptables  -L
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination

 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination

 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination

 Nothing but commented lines in /etc/hosts.allow and hosts.deny.

 Error is always this:
 ro...@mercury:~$ ssh neptune
 ssh: connect to host neptune port 22: Connection timed out
 (same with ssh ro...@neptune or ssh ip-address)

 This also:
 ro...@mercury:~$ telnet neptune 22
 Trying 10.2.1.202...
 telnet: Unable to connect to remote host: Connection timed out

 Here endeth my efforts.  Can anyone suggest where to from here?

 Cheers,
 Roger




 ___
 Linux-users mailing list
 Linux-users@lists.canterbury.ac.nz
 http://lists.canterbury.ac.nz/mailman/listinfo/linux-users


___
Linux-users mailing list
Linux-users@lists.canterbury.ac.nz
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users