scp times out

Matt Graham danceswithcrows at usa.net
Fri Oct 23 12:20:56 MST 2009


From: Alex Dean <alex at crackpot.org>
> On Oct 23, 2009, at 12:59 PM, Josef Lowder wrote:
>> $ scp filename joe at 192.168.1.68:/home/joe/filecopy
>> ssh: connect to host 192.168.1.68 port 22: Connection timed out
>> /sbin/ifconfig shows 192.168.1.68 as the inet address.

> This will give you more info about what's going on...
> scp -v filename joe at 192.168.1.68:/home/joe/filecopy

First thing I'd check is the iptables rulesets.  An overly paranoid
firewall could cause this to happen.  Second thing I'd check is the
/etc/ssh/sshd_config , to make sure that sshd is listening on that
interface (or all interfaces) and port 22.  "pgrep sshd" returns a
PID, right?  If it doesn't, there's your problem right there.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see




More information about the PLUG-discuss mailing list