Re: scp times out

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Josef Lowder
Date:  
To: plug-discuss
Subject: Re: scp times out
Lisa wrote:
0) Verify default route is in place: netstat -rn (UG should be gateway)
1) Ensure ssh is on on the target machine.
2) Verify ports are open: nmap $target (to ensure iptables are not
limiting ssh access by source/destination or mac address, port
knocking)
3) Verify MTU issues if you are in a remote connection or VPN.
4) Travel to the machine and verify it's turned on (laugh), ethernet up, ssh on.

0) netstat -rn (results):
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth0


1) target machine finds /etc/ssh (how do I determine if it is turned on?)

2) don't understand 'nmap $target' but tried the following with these results:
nmap -v -sS -O 192.168.0.68
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2009-10-23 12:40 MST
Initiating SYN Stealth Scan against 192.168.0.68 [1663 ports] at 12:40
Discovered open port 631/tcp on 192.168.0.68
The SYN Stealth Scan took 0.15s to scan 1663 total ports.
For OSScan assuming port 631 is open, 1 is closed, and neither are firewalled
Host 192.168.0.68 appears to be up ... good.
Interesting ports on 192.168.0.68:
(The 1662 ports scanned but not shown below are in state: closed)
PORT    STATE SERVICE
631/tcp open  ipp
MAC Address: 00:14:85:1E:5F:5E (Unknown)
Device type: general purpose
Running: Linux 2.4.X|2.5.X|2.6.X
OS details: Linux 2.4.0 - 2.5.20, Linux 2.4.18 - 2.6.7
TCP Sequence Prediction: Class=random positive increments
                         Difficulty=3597859 (Good luck!)
IPID Sequence Generation: All zeros


Nmap finished: 1 IP address (1 host up) scanned in 12.492 seconds
               Raw packets sent: 1679 (67.4KB) | Rcvd: 1677 (77.6KB)


3) Don't know how to "Verify MTU issues if you are in a remote
connection or VPN"
but I am not in a remote location. The two machines are side by side.

4) Travel to the machine and verify it's turned on (laugh), ethernet up, ssh on.
Both machines are working, connected via ethernet, and both connect to Internet.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss