Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Cannot SSH into go daddy server

    I'm going slowly mad. I cannot ssh into two godaddy servers. I'm trying with root (which is enabled) and also with individual user accounts which are in the wheel group and have full shell access. The root password and user passwords are being accepted in WHM no problem so I know they are good.

    The faillog file just says NULL NULL etc

    Godaddy's legendary support is as much use as a chocolate teapot they say they can login fine.

    All I get is Access Denied ........

    Any suggestions for diagnosis and fix appreciated !

  2. #2
    ckh
    ckh is offline
    Member
    Join Date
    Dec 2003
    Posts
    333

    Default Re: Cannot SSH into go daddy server

    Had the same problem. You have to log in with the user password and then su for root.

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    As I said - neither user accounts or root are working. Root access is enabled in sshd.conf

  4. #4
    Member
    Join Date
    Feb 2006
    Location
    Finland
    Posts
    74
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    Quote Originally Posted by oldlock View Post
    As I said - neither user accounts or root are working. Root access is enabled in sshd.conf
    How about PasswordAuthentication?

  5. #5
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    password auth is enabled. I have tried ssh keys too. Ssh keys result in 'the server refused our key'

  6. #6
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    Hello

    Unfortunately, there is not much more you can check for without root access via SSH. You will need to consult with your hosting provider to have them check why "root" access via SSH is not working properly.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  7. #7
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    Are you using PuTTY?
    If yes, then what does the PuTTY log say? = Do a Ctrl + Right Click >> Event Log in the PuTTY Window.

  8. #8
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    I do have some access via the configserver explorer plugin via WHM. Yes I am using putty, here's the log :

    Cannot SSH into go daddy server-putty1.png

  9. #9
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    I found this in the secure log :

    30 03:08:14 ip-XX-XX-XXX-XXX sshd[3864]: pam_unix(sshd:auth): auth could not identify password for [root]
    Dec 30 03:08:14 ip-XX-XX-XXX-XXX sshd[3864]: error: ssh_msg_send: write

    Also entries that suggest that my IP is listed in DenyUsers ? but I can still access WHM so it's my firewall ??

  10. #10
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    /etc/ssh/sshd_config

    /etc/securetty

    What do these file show?

  11. #11
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    sshd

    --

    # $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $

    # This is the sshd server system-wide configuration file. See
    # sshd_config(5) for more information.

    # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin

    # The strategy used for options in the default sshd_config shipped with
    # OpenSSH is to specify options with their default value where
    # possible, but leave them commented. Uncommented options change a
    # default value.

    #Port 22
    Protocol 2
    #ListenAddress 0.0.0.0
    #ListenAddress ::

    # HostKey for protocol version 1
    #HostKey /etc/ssh/ssh_host_key
    # HostKeys for protocol version 2
    #HostKey /etc/ssh/ssh_host_rsa_key
    #HostKey /etc/ssh/ssh_host_dsa_key

    # Lifetime and size of ephemeral version 1 server key
    #KeyRegenerationInterval 3600
    #ServerKeyBits 768

    # Logging
    #obsoletes QuietMode and FascistLogging
    #SyslogFacility AUTH
    SyslogFacility AUTHPRIV
    #LogLevel INFO

    # Authentication:

    #LoginGraceTime 120
    PermitRootLogin yes
    StrictModes yes

    #RSAAuthentication yes
    #PubkeyAuthentication yes
    #AuthorizedKeysFile .ssh/authorized_keys

    # rhosts authentication should not be used
    #RhostsAuthentication no
    # Don't read the user's ~/.rhosts and ~/.shosts files
    #IgnoreRhosts yes
    # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
    #RhostsRSAAuthentication no
    # similar for protocol version 2
    #HostbasedAuthentication no
    # Change to yes if you don't trust ~/.ssh/known_hosts for
    # RhostsRSAAuthentication and HostbasedAuthentication
    #IgnoreUserKnownHosts no

    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    #PermitEmptyPasswords no

    # Change to no to disable s/key passwords
    #ChallengeResponseAuthentication yes

    # Kerberos options
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #KerberosTicketCleanup yes

    #AFSTokenPassing no

    # Kerberos TGT Passing only works with the AFS kaserver
    #KerberosTgtPassing no

    # Set this to 'yes' to enable PAM keyboard-interactive authentication
    # Warning: enabling this may bypass the setting of 'PasswordAuthentication'
    #PAMAuthenticationViaKbdInt no

    #X11Forwarding no
    X11Forwarding no
    #X11DisplayOffset 10
    #X11UseLocalhost yes
    PrintMotd yes
    PrintLastLog yes
    #KeepAlive yes
    #UseLogin no
    #UsePrivilegeSeparation yes
    #PermitUserEnvironment no
    #Compression yes

    #MaxStartups 10
    # no default banner path
    #Banner /some/path
    #VerifyReverseMapping no

    # override default of no subsystems
    Subsystem sftp /usr/libexec/openssh/sftp-server

    DenyUsers root
    DenyGroups root
    UseDNS no
    ChallengeResponseAuthentication yes
    PasswordAuthentication yes
    UsePAM yes
    secutetty :

    --

    console
    vc/1
    vc/2
    vc/3
    vc/4
    vc/5
    vc/6
    vc/7
    vc/8
    vc/9
    vc/10
    vc/11
    tty1
    tty2
    tty3
    tty4
    tty5
    tty6
    tty7
    tty8
    tty9
    tty10
    tty11

    Thanks

    Paul

  12. #12
    Member
    Join Date
    Sep 2008
    Posts
    46

    Default Re: Cannot SSH into go daddy server

    OK. I commented out the deny users and deny groups entries and now I'm able to get it. The question I don't have an answer for is just when those entries slipped in ...

  13. #13
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    hmmmmmmmmmmmmmmmmm....

    atleast its solved.



    Do post here if you found anything fishy.

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    What precisely is deny users and deny groups? Please provide the file that was listing your IP.

    Now, since I believe you might mean csf.deny file at /etc/csf location. If you do mean CSF did it, this wouldn't be a cPanel product but that of another company (ConfigServer Security & Firewall). For entries added to /etc/csf/csf.deny, CSF logs to /var/log/lfd.log for LFD brute force detection entries. You should be able to find your IP in that file or in the archive of it if the log has been archived:

    Code:
    grep IP# /var/log/lfd.log*
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  15. #15
    Member
    Join Date
    Feb 2006
    Location
    Finland
    Posts
    74
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Cannot SSH into go daddy server

    Quote Originally Posted by cPanelTristan View Post
    What precisely is deny users and deny groups? Please provide the file that was listing your IP.
    There were these lines in his sshd_config file (post #11):
    Code:
    DenyUsers root
    DenyGroups root

Similar Threads & Tags
Similar threads

  1. Go Daddy FTP Backup
    By jsb825 in forum Data Protection
    Replies: 3
    Last Post: 07-27-2006, 09:20 AM
  2. Can't SSH to server????
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-18-2005, 12:45 PM
  3. Check Server in SSH (the service status in whm, but in ssh)
    By drumhtd in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-30-2005, 04:16 PM
  4. Go daddy error pointing to our server?
    By cragdo in forum New User Questions
    Replies: 2
    Last Post: 08-17-2005, 01:19 PM
  5. can't ssh to server
    By Stanleytiew in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-23-2005, 11:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube