The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to login via SSH or SFTP

Discussion in 'General Discussion' started by scorched, Mar 29, 2010.

  1. scorched

    scorched Member

    Joined:
    Aug 23, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    hi all. i've always been able to login via SFTP and SSH on a server running cpanel as root for the longest time up until now.

    the server is set to update to the the latest stable version of whm/cpanel. has there been a part of the update that prevents connections via SFTP or SSH?

    thank you.
     
  2. scorched

    scorched Member

    Joined:
    Aug 23, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    i was looking at it from a wrong perspective.

    the problem wasn't with the sshd. the problem was with the host access list. sshd access was set to allowed with the following parameters: XXX.XXX.*.* to accommodate dynamic IP assignments from the ISP. this worked quite well for a while, as such, has been taken for granted. when the ISP changed everything and not just the last 2 segments, that's where the problem came in.

    hope this helps anyone else out there who seem to be running into a wall.

    by the way, here's a handy cpanel script that i came across during my quest for a solution:

    http://your_server_ip:2086/scripts2/doautofixer?autofix=safesshrestart

    this resets your sshd to default config.
     
Loading...

Share This Page