Announcement

Collapse
No announcement yet.

login with ssh from internet fails

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    login with ssh from internet fails

    I have setup my machine 1 with openssh server and client and machine 2 with open ssh client. When machine 2 tries to connect with
    "ssh machine1.local" i type my passwd and i'm in.

    I also want to be able to login when i am not at home, to test this i do
    "ssh externalip:highport" I have setup my router to forward a port in a high range to port 22 on machine 1. unfortunately no luck. What is wrong here?

    #2
    Re: login with ssh from internet fails

    The syntax for the SSH command is
    Code:
    ssh -p portno [user@]hostname
    (see "man ssh")
    Try that and see

    Comment


      #3
      Re: login with ssh from internet fails

      Thanks for fixing the syntax error. I am still not able to connect though. Probably a firewall setting or something. Ill try a little bit more and come back if things are more clear on the why connection fails.

      Comment


        #4
        Re: login with ssh from internet fails

        In 98% of these cases it's probably a setting on the router somewhere... Do post back if you find anything.

        Comment

        Working...
        X