ssh
Bruce Marshall
bmarsh
Sat Jan 6 11:20:29 PST 2007
On Saturday 06 January 2007 13:53, Dan Martin wrote:
> Good afternoon,
>
> I've been running Suse 8 for some time,
> but have not needed access via ssh until
> now.
>
> sshd seems to be configured. I can ssh
> locally, from another machine, but I've been
> unable to do so via my internet connection,
> which is thru Verizon DSL.
>
> On ssh'ing locally, the following messages
> are logged:
>
> Jan 6 13:32:00 suse8 sshd[30215]: Could not reverse map address
> 192.168.0.41.
> Jan 6 13:32:03 suse8 sshd[30215]: Accepted password for dan from
>
> ::ffff:192.168.0.41 port 1222 ssh2
>
> Nothing is logged when I try ssh'ing thru my
> ISP, so I think the setup needs to be done in
> the Westell 2200 DSL modem. It has a configuration/services
> screen accessible via browser, and I selected ssh, and it
> seems to have accepted the change.
>
> ssh'ing dies with this message:
> ssh: connect to host 71.126.40.170 port 22: Connection refused
> (the ip address is for the Westell. It is dynamic, but
> was correct at the time of the test). I don't know if this
> message is coming from the Westell or from Linux. If it's
> from Linux, it is not logged in messages.
>
> Not surprisingly, Verizon has not been much help.
> Could you suggest a starting point for me to investigate?
Do you have a router? or does the DSL modem operate like a router?
Probably so.... in which case the 'router' would need to know which machine
to forward the port 22 to.... for instance, you might have 4 machines
connected via DSL /router and the router wouldn't know which of the 4 gets
the call.
It might also involve opening port 22 in the router or a firewall if you are
using one.
I doubt if Verizon is blocking port 22 but it is possible. In which case you
might want to move your SSH up to a high port (like 12022) which should
avoid that problem. Wouldn.t be a bad idea to do that anyway to avoid the
attempts to breakin on port 22.
More information about the Linux-users
mailing list