ssh & port 22 problem
STYMA, ROBERT E (ROBERT)
stymar at lucent.com
Mon Sep 27 19:21:02 UTC 2004
On Mon, 2004-09-27 at 13:50, Gerhard Magnus wrote:
> Greetings!
>
> When I try to connect from a remote machine to my one at home
> using ssh I get the error message "ssh: connect to host 64.146.133.1 port
> 22: Connection refused" -- but using ssh in the outgoing direction (i.e.
> from home to the remote location) works fine. Any suggestions as to how
> to troubleshoot this?
>
> Thanks for the help!
> Jerry
I addition to the other suggestions, sshd uses /etc/hosts.allow and
/etc/hosts.deny. Check that they are configured to allow your remote
machine in. By default sshd puts messages in /var/log/secure, look there
to see if sshd is actually seeing the attempted connection.
Also, if your /etc/ssh/sshd_config file has VerifyReverseMapping turned
on, you will get kicked out if your remote address does not work with
a reverse dns lookup
Robert E. Styma
Principal Engineer (DMTS)
Lucent Technologies, Phoenix
Email: stymar at lucent.com
Phone: 623-582-7323
FAX: 623-581-4390
Company: http://www.lucent.com
Personal: http://www.swlink.net/~styma
More information about the users
mailing list