Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I'm trying to connect via ssh from a remote computer. Currently I can connect from another computer on my local network, but every time I try to connect through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    Remote SSH Connection Problem


    Hi,

    I'm trying to connect via ssh from a remote computer. Currently I can connect from another computer on my local network, but every time I try to connect through my DynDNS, or directly with my IPAddress it won't accept my password and says:
    "Permission denied, please try again."

    I have the following:
    • Port forwarding on port 22, from a bt voyager 2110 router.
    • DynDNS registered account, which is setup ok (i think).
    • I'm running ubuntu
    • I have the OpenSSH client & server.


    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Location
    Great mighty Czech Republic, in the heart of Europe :-)
    Posts
    11
    1) Do not use root user, direct root login may be disabled.

    2) Look to /var/log/ there should be file "secure" (it is in Fedora). Look what is inside this file, there can be some important error messages. If you find nothing of interrest then just remember the date of last message and try to log in again from outside throught router. Then look again into that log file, if there are new lines. If not, then you are either trying to connect to wrong server, or your port forwarding is not working properly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •