[Novalug] scp double failure

Mark Smith mark@winksmith.com
Sat May 23 01:45:41 EDT 2009


nothing to do with anything,  but you can have fun pretending to
be scp (at least up until you get the header):

	nc -v 192.168.1.104 22

you'll get something like this:

	192.168.1.104 [192.168.1.5] 22 (ssh) open
	SSH-2.0-OpenSSH_V.v

replacing your host and version number with your own.  if this
doesn't pop up you can start debugging why that is it.  it'll most
likely be that your sshd isn't running (see your logs).  it might
be a firewall issue.  it might be a tcpwrapper issue too (see
hosts.allow).  a typical failure mode for tcpwrapper is that it'll
connect then immediately disconnect.

in any case, check your logs for more information.


On Fri, May 22, 2009 at 05:11:10PM -0500, Beartooth wrote:
> 
>  	While Jo is out of town for a couple days, I want to back 
> up her home directory from Msgv2 at 192.168.1.104 to the one on 
> BBB at 192.168.1.105 -- but it fails :
> 
> [tslg@BBB ~]$ scp -r 192.168.0.4:/home/tslg/* home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> [tslg@BBB ~]$ scp -r 192.168.0.4:/home/tslg/* home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> [tslg@BBB ~]$ scp -r 192.168.0.4:/home/tslg/* home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> [tslg@BBB ~]$ scp -r 192.168.0.4:/home/tslg/* home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> 
>  	So I tried a trick I have sometimes seen work : ssh'd in, 
> and tried to do it from the other end. That fails, too :
> 
> [tslg@Msgv2 ~]$ scp -r /home/tslg/* 192.168.0.4:home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> lost connection
> [tslg@Msgv2 ~]$ scp -r /home/tslg/* 192.168.0.4:home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> lost connection
> [tslg@Msgv2 ~]$ scp -r /home/tslg/* 192.168.0.4:home/tslg
> ssh: connect to host 192.168.0.4 port 22: Connection timed out
> lost connection
> 
>  	In general, of recent months, I've been seeing scp fail a 
> lot more than ssh. What's wrong??
> 
> -- 
> Beartooth Staffwright, Not Quite Clueless Power User
> Remember I know little (precious little!) of where up is.
> 
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug

-- 
Mark Smith
mark@winksmith.com
mark@tux.org



More information about the Novalug mailing list