Results 1 to 18 of 18
  1. #1
    Join Date
    Jul 2013
    Posts
    61

    can login via KVM but not ssh/putty

    i can login to my dedi via KVM but when i try to login via putty the password does not work.

    Any ideas?

    My host said gss is enabled and preventing me from loging in.

    Anyone know the commands to fix it? (host cant do it since its unmanaged)

  2. #2
    Join Date
    Oct 2009
    Posts
    590
    Few things to try for troubleshooting purposes:

    iptables -P INPUT ACCEPT
    iptables -X
    iptables -F
    setenforce 0

    nano /etc/ssh/sshd_config
    and check that port = 22 and PasswordAuthentication = yes

  3. #3
    Ip configured correctly? can ping it?
    Cloudzy
    Cheap Windows VPS | Linux VPS | Bitcoin VPS | Forex VPS
    Accept Credit Cards, PayPal, PerfectMoney, CryotoCurrency and Bitcoin
    In business for more than 14 years - Since 2008

  4. #4
    Join Date
    Jul 2013
    Posts
    61
    Quote Originally Posted by mustardman View Post
    Few things to try for troubleshooting purposes:

    iptables -P INPUT ACCEPT
    iptables -X
    iptables -F
    setenforce 0

    nano /etc/ssh/sshd_config
    and check that port = 22 and PasswordAuthentication = yes
    none of those commands come up. Im using centOS 6. sorry forgot to mention that.

    Quote Originally Posted by Hannan View Post
    Ip configured correctly? can ping it?
    yep

  5. #5
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    1,323
    What do you mean by "none of those commands come up" all those commands should work on an out of box centos 6 install.

    post us "uname -a".
    █ Brian Kearney, Stealthy Hosting/Server Stadium Seattle, WA [AS23033] Skype: StealthyHosting
    Custom Dedicated Servers
    Low Cost Instant Dedicated Servers

    █ Email: Sales@StealthyHosting.com

  6. #6
    Join Date
    Mar 2003
    Location
    /root
    Posts
    23,991
    Moved > Hosting Security and Technology .

    Specially 4 U
    Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
    JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
    Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx

  7. #7
    Join Date
    Oct 2009
    Posts
    590
    Quote Originally Posted by khrage View Post
    none of those commands come up. Im using centOS 6. sorry forgot to mention that.
    Those commands work on Centos 6 guaranteed. Are you logged in as root?

  8. #8
    Join Date
    Jul 2013
    Posts
    61
    Quote Originally Posted by mustardman View Post
    Few things to try for troubleshooting purposes:

    iptables -P INPUT ACCEPT
    iptables -X
    iptables -F
    setenforce 0

    nano /etc/ssh/sshd_config
    and check that port = 22 and PasswordAuthentication = yes
    sorry i typed them in wrong.

    tried again and the config is on 22, password authentication is yes, etc etc

  9. #9
    Join Date
    Jul 2013
    Posts
    61
    still cant get this working

  10. #10
    Join Date
    Mar 2005
    Location
    Ten1/0/2
    Posts
    2,529
    is sshd running?

    is sshd configured for password logins?

    is sshd configured to allow root login?

    is sshd running on port 22 or a custom port?

    are you trying to connect on port 22?

    Any number of trivial things could be preventing ssh access.
    CPanel Shared and Reseller Hosting, OpenVZ VPS Hosting. West Coast (LA) Servers and Nodes
    Running Linux since 1.0.8 Kernel!
    Providing Internet Services since 1995 and Hosting Since 2004

  11. #11
    Join Date
    Jul 2013
    Posts
    61
    yes its running

    i think its configured for pw's how would i make sure of that?

    port 22 - check

    im connecting via putty via port 22

  12. #12
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    1,323
    Check http://www.yougetsignal.com/tools/open-ports/

    then try

    "service iptables stop"

    Then check to see if port 22 is open again.

    If it is your firewall is not configured correctly and you need to open the port on the firewall.
    █ Brian Kearney, Stealthy Hosting/Server Stadium Seattle, WA [AS23033] Skype: StealthyHosting
    Custom Dedicated Servers
    Low Cost Instant Dedicated Servers

    █ Email: Sales@StealthyHosting.com

  13. #13
    Check if you receive any traffic via tcpdump:
    tcpdump -i your_primary_ethernet_dev -vvvvvvvvv
    Also, check if: PermitRootLogin yes
    and try to connect via ssh.

    You can also try to change the default sshd port from 22 to for example 8022, restart sshd and try to connect on that port.

  14. #14
    Just try this,

    Login to the server via KVM and then try to login using ssh at that time check the log file
    tail -f /var/log/secure

  15. #15
    Do you get the password prompt to enter your password? Can you provide the screen capture of the error which you are receiving in PuTTy.

  16. #16
    check ip using ping if its reply than your ip working properlly.

  17. #17
    Join Date
    Nov 2005
    Location
    /etc/fstab
    Posts
    1,342
    Your login is possibly restricted by sshd_config file. Try checking the /etc/ssh/sshd_config and check if there are any line with "AllowUsers". That might be restricting your access. I am not sure how GSS authentication is configured with OpenSSH, but if your hosts know it, you should allow them to configure it for you.
    Mellowhost - Providing High Quality Web Hosting Services since 2007
    SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
    A Hosting Provider with Complete SSD VPS & Shared Hosting.

  18. #18
    Join Date
    Apr 2007
    Location
    Everywhere
    Posts
    273
    It looks like you have modified your sshd_config file or the server was set to only accept public key authentications.

    Try providing the output of this command and all relevant logs from /var/log/secure

    $ cat /etc/ssh/sshd_config|grep GSSAPIAuthentication
    $ cat /etc/ssh/sshd_config|grep PasswordAuthentication
    $ cat /etc/ssh/sshd_config|grep Protocol

    PS: GSSAPIauthentication will only work over protocol 2

Similar Threads

  1. Putty SSH login denied
    By smsmasters in forum Hosting Security and Technology
    Replies: 8
    Last Post: 10-08-2011, 07:36 AM
  2. can not login root from SSH, LT suggest me to do KVM over IP
    By skyaus in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-12-2008, 12:26 PM
  3. cant login to my server using putty
    By netpox in forum Dedicated Server
    Replies: 4
    Last Post: 07-03-2008, 11:09 AM
  4. Urgent-fixing SSH login with KVM over IP
    By cyberturk in forum Systems Management Requests
    Replies: 3
    Last Post: 04-24-2007, 03:18 PM
  5. PuTTY - connection drops on login attempt
    By antipomo in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-16-2006, 03:15 AM

Posting Permissions

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