Results 1 to 6 of 6

Thread: SSH Access from anywhere

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Beans
    9

    SSH Access from anywhere

    So I have just installed the ubuntu server 13.04 and when I was installing it I checked that I want SSH to be installed with it.
    Now when I want to test it, I can't access SSH from anywhere, not even from lan, it just simply says Incorrect Password no matter what.
    But when I use ssh localhost on the actual server, then it allows me to connect and the password is just fine.
    I have checked the ssh_config and it has: "Hosts *" and in the sshd_config there is "PermitRoot yes" (or something like that), which means I should be able to access it...

  2. #2
    Join Date
    Jul 2011
    Beans
    9

    Re: SSH Access from anywhere

    Oh my god, this was the stupidest mistake I have ever made.
    On my console, when i press SHIFT + 2 it makes "
    But in my computer it is @
    I am so ashamed of myself

    Please lock this topic.

  3. #3

    Re: SSH Access from anywhere

    Chalk it up to "Experience".
    Windows assumes the user is an idiot.
    Linux demands proof.

  4. #4
    Join Date
    Dec 2007
    Location
    Rajapalayam, Tamil Nadu
    Beans
    28
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SSH Access from anywhere

    Hi Vilsol,

    You can mark this thread as solved, using the thread tools (please just search for the term "thread tools" in this page, you'd see a dropdown menu).

  5. #5
    Join Date
    Jun 2006
    Location
    Brisbane Australia
    Beans
    713

    Re: SSH Access from anywhere

    I don't understand why anybody would set "PermitRootLogin" to yes, particularly on a Ubuntu box where root account login is disabled by default anyhow. Users should ssh in using their own account (so you can see in the log files who it is at the very least!), and then use sudo. If you want to run root scripts remotely then set "PermitRootLogin without-password".

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: SSH Access from anywhere

    Quote Originally Posted by markbl View Post
    I don't understand why anybody would set "PermitRootLogin" to yes, particularly on a Ubuntu box where root account login is disabled by default anyhow. Users should ssh in using their own account (so you can see in the log files who it is at the very least!), and then use sudo. If you want to run root scripts remotely then set "PermitRootLogin without-password".
    It is set to yes by default.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

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