Date: Fri, 3 Sep 2004 02:56:52 -0700 From: David Syphers <dsyphers@u.washington.edu> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: getting ssh to work Message-ID: <200409030256.52955.dsyphers@u.washington.edu> In-Reply-To: <20040903084307.GA63597@happy-idiot-talk.infracaninophile.co.uk> References: <200409030123.35778.dsyphers@u.washington.edu> <20040903084307.GA63597@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 03 September 2004 01:43 am, Matthew Seaman wrote: > One thing to check -- do you have the machine key for the remote > machine cached somewhere No. > Failing that, try running ssh and/or sshd in debug mode. On the > client side you can run: > > % ssh -v -v -v username@otherhost > > which will trace exactly what ssh is trying to do as you log in. Not much, it seems. Never makes contact: $ ssh -v -v -v [me@host] OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connecting to [host] [host ip] port 22. debug1: connect to address [host] port 22: Connection timed out ssh: connect to host [host] port 22: Connection timed out The ssh_config has 'ForwardX11 yes' but is default apart from that. Unfortunately I don't have root access on the remote box. What's odd is that it never tries to contact me on port 22. I'm logging all packets from it to me, and I'm only seeing packets _from_ its port 22 to one of my unpriveledged ports (I should have added before that I'm first sshing to this computer, then trying to ssh back). I also just tried this from another remote computer (OpenSSH_3.7.1p2) on a completely separate network 2000 miles away, and got the exact same results. (For fun I tried sshing between these two remote computers, and that works fine.) I'd suggest that port 22 is being blocked upstream, but I just ssh'd to an old computer that sits right next to my desktop and is on the same network (it runs 5.2RC2). That computer can't ssh to mine either. -David -- +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot. +++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409030256.52955.dsyphers>