Joshua Penix wrote:

On Jun 24, 2006, at 10:41 AM, jerry wrote:

I am trying out Kubuntu to see if I want to use it. Everything is working well. The only problem (so far) is I cannot ssh into my other computer from kubuntu. THe command hangs and I have to Ctrl-c to get out; thus the error code 130. I can ssh from the other computer into kubuntu; so I assume

How long have you let it hang? Try the SSH again and let it hang until something happens. Either you will eventually be logged in, or it will eventually error out. Frequently SSH logins can appear to hang if you have DNS configuration issues. The SSH server is trying to do a reverse lookup on the client machine, and it will wait until it gets something resolved.

I'm betting if you let it go for 30-60 seconds, it will finally pop through. You can also try referring to /var/log/secure on the SSH server to see if there are any clues.

--Joshua Penix                                http://www.binarytribe.com
Binary Tribe           Linux Integration Services & Network Consulting


[EMAIL PROTECTED]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie



Here are some attempts:

This is before linux has booted on the other computer;

[EMAIL PROTECTED]:/etc/ssh $ time ssh [EMAIL PROTECTED] -v
OpenSSH_4.2p1 Debian-7ubuntu3, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to main [192.168.1.50] port 22.
debug1: connect to address 192.168.1.50 port 22: No route to host
ssh: connect to host main port 22: No route to host

real    0m3.186s
user    0m0.012s
sys     0m0.006s

This is   after I have logged in:

[EMAIL PROTECTED]:/etc/ssh $ time ssh [EMAIL PROTECTED] -v
OpenSSH_4.2p1 Debian-7ubuntu3, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to main [192.168.1.50] port 22.
debug1: connect to address 192.168.1.50 port 22: Connection timed out
ssh: connect to host main port 22: Connection timed out

real    3m9.045s
user    0m0.010s
sys     0m0.005s

ping:

[EMAIL PROTECTED]:/etc/ssh $ ping 192.168.1.50
PING 192.168.1.50 (192.168.1.50) 56(84) bytes of data.

--- 192.168.1.50 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 4999ms

[EMAIL PROTECTED]:/etc/ssh $ ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.
64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.076 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.069 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=64 time=0.071 ms
64 bytes from 192.168.1.10: icmp_seq=4 ttl=64 time=0.070 ms

--- 192.168.1.10 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.069/0.071/0.076/0.008 ms

192.168.1.10 is localhost/backup

Here is /etc/hosts:

[EMAIL PROTECTED]:/etc/ssh $ sudo cat /etc/hosts
127.0.0.1 localhost backup
192.168.1.10 backup.jerrysdomain.com backup
192.168.1.50 main.jerrysdomain.com main

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

I can ping and ssh from the other computer in kubuntu.

Joshua thanks for your help.

Jerry

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to