Re: SSH through wireless router
Eduardo M KALINOWSKI <ekalin@gmail.com> writes:
> With that sshd running in debug mode in port 2222 (or any other), try
> also connecting to locahost on port 2222 (ssh -p 2222 localhost) to see
> if any helpful messages come out.
Eduardo, I did this:
$ sudo /usr/sbin/sshd -d -p 2222
...
Server listening on :: port 2222.
debug1: Bind to port 2222 on 0.0.0.0.
Then in an other terminal I did this:
$ sudo /usr/bin/ssh -p 2222 localhost
ssh_exchange_identification: Connection closed by remote host
And this caused the server to disconnect from the port and with that I
see the following to be appended to the stdout of the first terminal:
debug1: Server will not fork when running in debugging mode.
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug1: inetd sockets after dupping: 3, 3
debug1: Connection refused by tcp wrapper
--
Haines Brown, KB1GRM
Reply to: