Results 1 to 9 of 9

Thread: OpenSSH server all of a sudden doesnt allow remote logins wtf

  1. #1
    Join Date
    Dec 2010
    Beans
    23

    OpenSSH server all of a sudden doesnt allow remote logins wtf

    Ive got a small server ive had running for months, all of a sudden it will not allow remote logins, I can login from my local network just fine, but the box will just say "Access Denied" when I try to login from across the internet, nothings changed on the box, at least I didnt change anything. And nothing on the lan has changed, port forwardings still properly setup, static ips, ect.

    No idea why this is happening, I checked etc/hosts.deny and its clear, I do not have denyhosts installed.

    Any help would be great, thank you!

  2. #2
    Join Date
    Feb 2011
    Location
    Europe
    Beans
    82

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    So it worked before and now it doesn't ?

    Do your logfiles say anything ? And can you build a successful from the internet to your SSH server (e.g. by running telnet your_hostname your_ssh_port) ?

    If the last fails, there's something wrong with the routing and it's impossible to access the server or at least the port where SSH is running from the internet.
    There's no place like localhost

  3. #3
    Join Date
    May 2007
    Location
    STL, MO
    Beans
    1,283
    Distro
    Kubuntu Karmic Koala (testing)

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    Post
    Code:
    ssh -v HOST
    Your port forwarding rules probably aren't working on your router.

    Do you get a "Connection refused" error?

  4. #4
    Join Date
    Aug 2010
    Location
    hole
    Beans
    419
    Distro
    Ubuntu

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    is this box sitting behind a router/firewall?
    try to telnet from the internet to the machine on the ssh port and see what you are getting.
    you should get some openssh header on the telnet and if you dont that means its a network\firewall issu.

  5. #5
    Join Date
    Dec 2010
    Beans
    23

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    Ok guys, there is NO problem with the port, I can open ssh from a remote machine across the internet and I get the user login and password prompt, it just says Access Denied I dont know what happened, it was working fine until some time last week I guess, I have users that were complaining, I juse assumed they forgot their passwords or someone was trying to SE me to get me to change passwords, so I logged into an rdp and checked it out, sure enough, cannot login at all,
    "Access Denied"

    Almost as if I had put in the wrong password.

    Of course logging in from the lan is no problem, so, for some reason my box is basically not allowing internet computers to login. Once again, there is nothing wrong with my Nat configuration and the host is 100% reachable.
    Last edited by thefix0r; February 10th, 2011 at 09:10 AM.

  6. #6
    Join Date
    Sep 2012
    Beans
    10

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    I'm having the same problem...any word on how to resolve this problem?

  7. #7
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,561
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    That thread is year and a half old, and since it doesn't include a solution anyway, it makes no sense to post there.

    Create new thread with your issue.

    Did you confirm you can see the ssh service listening with telnet?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  8. #8
    Join Date
    Sep 2012
    Beans
    10

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    Ok I will open a new request as you asked....yes I verified that ssh was installed and port 22 is open.

  9. #9
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,561
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: OpenSSH server all of a sudden doesnt allow remote logins wtf

    Quote Originally Posted by kkoffler View Post
    Ok I will open a new request as you asked....yes I verified that ssh was installed and port 22 is open.
    That's not the same. The service running on the server has nothing to do with testing with telnet if you can see it from another location. We can continue the discussion in the new thread.

    On linux, the telnet test would be something like:
    telnet <server ip> 22

    It should say something like Listening...
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

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
  •