I am running FreeBSD 4.3-STABLE
This is what i get when i run ssh to my server from the internet

[bradley@krusty ~]$ ssh -v -l bradley  <host>
OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: getuid 3110 geteuid 0 anon 1
debug1: Connecting to <host> [1.1.1.1] port 22.
debug1: connect: Connection refused
debug1: Trying again...

(does the above several times)

debug1: connect: Connection refused
Secure connection to <host> refused.

Now, when i run ssh from the server TO the server, via ssh bradley@<host>
it works.  When i run ssh bradley@localhost (on the server ofcourse) it
works.  When ssh to my server from my SUBNET (10.0.0.*) it works.
It just doesnt work when I try to connect via ssh from outside my network,
i.e. internet.

Now, here's the 'netstat -an |grep 22' output
tcp4       0      0  *.22                   *.*                    LISTEN

So the protocol IS bound.  But also, when doing a telnet <host> 22 i get
$ telnet <host> 22
Trying 1.1.1.1...
telnet: Unable to connect to remote host: Connection refused

I've rebuilt/reinstalled OpenSSH and rebooted, reconfigured, etc...
And no luck.  I'm not sure what I'm doing wrong.
Could anyone help me?

By the way, I have two NIC's one internal, one External.  All are setup
correctly, and all other services are operating normally. Only sshd is
giving me trouble.

I run a firewall, And i have flushed all rules to see if that might be the
cause.  It wasn't.  I have replaced my existing /etc/hosts.allow with one
containing only all : all and still no luck.


Anyway, Thanks for any help.
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to