[sllug-members]: SSH question
Roger Smith
roger at itigger.com
Thu Apr 17 16:19:52 MDT 2008
On Thursday 17 April 2008 05:08:02 pm Mark K. Spute wrote:
> I ran
>
> ssh -p 22 root at 127.0.0.1
>
> from the server console and it gave:
>
> ssh: connet to host 127.0.0.1 port 22: Connection refused
>
> I tried it again with:
>
> ssh -p 3022 root at 127.0.0.1
>
> and I got:
>
> The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
> RSA key fingerprint is 23:3f: . . .
> Are you sure you want to continue connecting (yes/no)?
This means that it is listening on port 3022, and you just haven't established
a trusted key for 127.0.0.1 yet, this is normal if it is the first time you
have tried to connect to 127.0.0.1. Just accept the key and you can log in.
It looks like you may have port 3022 locally firewalled. ssh is listening on
all interfaces, so the only reason you can't connect is because of firewall
issues.
what is the content of "iptables -L"
Also look at the entries in "/etc/hosts.deny and /etc/hosts.allow" ipwrapper
may be blocking all and not allowing 3022.
--
Roger Smith
More information about the sllug-members
mailing list