Re: ssh question

2011-06-19 Thread Dazed_75
Hi back Lisa :) sshd seems to be running from larry@lapdog2:~$ ps aux | grep ssh larry 1692 0.0 0.0 3368 192 ?Ss 00:20 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=ubuntu larry 2065 0.0 0.1 5296 2292 pts/0S+ 00:22

Re: ssh question

2011-06-19 Thread Lisa Kachold
Yes, It's a layer of things to check for ssh. Glad you fixed it! On Sun, Jun 19, 2011 at 1:07 AM, Dazed_75 lthiels...@gmail.com wrote: Hi back Lisa :) sshd seems to be running from larry@lapdog2:~$ ps aux | grep ssh larry 1692 0.0 0.0 3368 192 ?Ss 00:20 0:00

Re: ssh question

2011-06-18 Thread Dazed_75
Mike, The netstat lines I think you wanted to see are: tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN Yes, ssh localhost works on all machines including lapdog2. Not sure that proves anything as the only problem is ssh TO

Re: ssh question

2011-06-18 Thread Lisa Kachold
On Sat, Jun 18, 2011 at 12:30 AM, Dazed_75 lthiels...@gmail.com wrote: Mike, The netstat lines I think you wanted to see are: tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN Yes, ssh localhost works on all machines

Re: ssh question

2011-06-18 Thread Dazed_75
On Sat, Jun 18, 2011 at 8:00 AM, Lisa Kachold lisakach...@obnosis.comwrote: On Sat, Jun 18, 2011 at 12:30 AM, Dazed_75 lthiels...@gmail.com wrote: Mike, The netstat lines I think you wanted to see are: tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::22

Re: ssh question

2011-06-18 Thread Joseph Sinclair
Based on what you're seeing below, I'd suggest looking at the IP setup on the machines and any router/gateway between the two machines. It looks like something is allowing the ICMP traffic but blocking or loosing the TCP connect for port 22. It might help to run the following commands on each

Re: ssh question

2011-06-18 Thread Dazed_75
Supplemental information. I have now done this in two locations (home and at UAT) using 3 machines in each location (lapdog2 in both) and different routers in each. I can ssh from lapdog2 to any other with one exception (see next paragraph). I can also ssh from other machine to any other except

Re: ssh question

2011-06-18 Thread Lisa Kachold
Hi Larry, Can you get to lapdog2 to stop and restart the /etc/init,d/sshd daemon? /etc/init.d/sshd restart sometimes it's ssh not sshd If you have verified it is on on that server and listening: # /etc/init.d/ssh status # netstat -ant |grep 22 You can then go to your remote system and run

ssh question

2011-06-17 Thread Dazed_75
I tried to ssh from this machine to my laptop (ssh lapdog3) and find that ssh is somehow using an old IP instead of doing name resolution on th e name lapdog2 which now has a new lease on a different IP. 1) How do I fix this? 2) Why does ssh use an old, apparently, stored IP? -- Dazed_75 a.k.a.

Re: ssh question

2011-06-17 Thread Dazed_75
Ignore the original question. I checked lapdog2's IP in a terminal that was logged into a different machine. The ssh was using the right IP but getting this result and I cannot figure out why: larry@hammerhead:~$ ssh -v lapdog2 OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 debug1:

Re: ssh question

2011-06-17 Thread Joseph Sinclair
A connection timed out usually occurs due to: 1) The ip address has no host (ping the same IP address, then use telnet to connect to port 22) 2) tcp wrappers is dropping the connection (check /et/hosts.allow and /etc/hosts.deny on lapdog3) 3) the firewall on lapdog3 is dropping the connection

Re: ssh question

2011-06-17 Thread Mike Ballon
I have seen ssh timeouts on slow networks because of dns as well. ssh relies on a reverse lookup and on very slow networks, I've seen the login process timeout because of bad ptr data. On Fri, Jun 17, 2011 at 9:23 AM, Joseph Sinclair plug-discuss...@stcaz.netwrote: A connection timed out

Re: ssh question

2011-06-17 Thread Dazed_75
These machines are all gigabit ethernet and connected to the same gigabit switch with little network traffic at the time of these attempts. On Fri, Jun 17, 2011 at 6:23 AM, Joseph Sinclair plug-discuss...@stcaz.netwrote: A connection timed out usually occurs due to: 1) The ip address has no

Re: ssh question

2011-06-17 Thread Mike Ballon
netstat -na | grep LIST output? ssh to localhost works? iptables stop (just for the sake) selinux? On Fri, Jun 17, 2011 at 11:49 AM, Dazed_75 lthiels...@gmail.com wrote: These machines are all gigabit ethernet and connected to the same gigabit switch with little network traffic at the time

Re: ssh question

2011-06-17 Thread Lisa Kachold
Hi Larry, On Fri, Jun 17, 2011 at 2:00 AM, Dazed_75 lthiels...@gmail.com wrote: I tried to ssh from this machine to my laptop (ssh lapdog3) and find that ssh is somehow using an old IP instead of doing name resolution on th e name lapdog2 which now has a new lease on a different IP. Where

Re: ssh question

2011-06-17 Thread Stephen
Gonna toss out an obvious was there a hosts entry? On Jun 17, 2011 8:49 AM, Dazed_75 lthiels...@gmail.com wrote: These machines are all gigabit ethernet and connected to the same gigabit switch with little network traffic at the time of these attempts. On Fri, Jun 17, 2011 at 6:23 AM, Joseph