Logging into a computer behind a router?

Alex Maynard amaynard-vQ8rsROW2HJSpjfjxSPG1fd9D2ou9A/h at public.gmane.org
Sat Jul 15 16:00:43 UTC 2006




On Sat, 15 Jul 2006, Gregory D Hough wrote:

> Alex Maynard wrote:
> >
> >
> > Thanks very much to several of you who suggested forwarding port 22.
> > I've done this and can now get to my computer's logon/passord from
> > outside, but strangely it rejects my logon attempts.
> >
> > This has me a bit confused.  Could it be that the DNS/IP of the
>>  computer of origin is somehow getting losted or changed as it passes
>> through my router?
> >
> If you're getting a login prompt at a remote location, then it is most
> likely NOT a networking issue. You're being rejected for some other
> reason by the application itself. What about the users .ssh/known_hosts
> file? Does it already have a key for the remote host? Has it changed?
>
> Try providing some more info. Check the logs and root's mail for any
> errors and if possible tcpdump -npvvvxX both sides of the session. See
> if the key exchange was successful and that the versions aren't too far
> out of whack.

Thank you! You're right. It turned out the problem was in my sshd_config
file. After fixing that everything worked.

Alex

>
> greg
> > Thanks again!
> >
> > Alex
> >
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>






--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list