okay,
netsstat on the server prints out a lot of data.
The first section says:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign
Address State
tcp 0 0
192.168.0.4:38521
lax17s01-in-f21.1:https ESTABLISHED
tcp 0 0
192.168.0.4:36523
lax17s01-in-f4.1e:https ESTABLISHED
tcp 0 0 localhost:45886
localhost:53919 ESTABLISHED
tcp 0 0 localhost:ssh
localhost:56545 ESTABLISHED
tcp 0 0 localhost:44799
localhost:53919 ESTABLISHED
tcp 0 0 localhost:47157
localhost:53919 ESTABLISHED
tcp 0 0 localhost:53919
localhost:44799 ESTABLISHED
tcp 0 0 localhost:53919
localhost:47157 ESTABLISHED
tcp 0 0 localhost:56545
localhost:ssh ESTABLISHED
tcp 0 0 localhost:53919
localhost:45886 ESTABLISHED
tcp 0 0
192.168.0.4:37884
lax17s01-in-f0.1e:https ESTABLISHED
tcp 0 0
192.168.0.4:45304
lax17s01-in-f5.1e:https ESTABLISHED
tcp 0 0
192.168.0.4:36525
lax17s01-in-f4.1e:https ESTABLISHED
tcp6 1 0 ip6-localhost:53614
ip6-localhost:ipp CLOSE_WAIT
while the second section says:
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State
I-Node Path
unix 18 [ ] DGRAM
11578 /dev/log
unix 2 [ ] DGRAM
10914 /var/run/wpa_supplicant/wlan0
unix 3 [ ] STREAM CONNECTED
343530
unix 3 [ ] STREAM CONNECTED
198728
unix 3 [ ] STREAM CONNECTED
198167
unix 3 [ ] STREAM CONNECTED
198683
---edit out a lot of stuff--
while on the remote system netstat prints 7 lines that is
basically the second section (above).
I'm not sure how to run sshin debug mode but the man page
implies to run it with the verbose flag:
:~$ ssh -v
mike@192.168.1.101
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.101 [192.168.1.101] port 22.
debug1: connect to address 192.168.1.101 port 22: Connection
timed out
ssh: connect to host 192.168.1.101 port 22: Connection timed
out
bmike1@CQ57-1:~$ ssh -vv
mike@192.168.1.101
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.101 [192.168.1.101] port 22.
debug1: connect to address 192.168.1.101 port 22: Connection
timed out
ssh: connect to host 192.168.1.101 port 22: Connection timed
out
:~$ ps -aef | grep sshd
root 1308 1 0 Jul15 ? 00:00:00 /usr/sbin/sshd
-D
bmike1 19566 4242 0 11:53 pts/2 00:00:00 grep
--colour=auto sshd