Find the answer to your Linux question:
Results 1 to 4 of 4
Hi I have a VPS with CentOS 5 installed and Kloxo v-6-1-4 as CP Suddenly I am not able to login FTP and SSH On FTP client I get the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    6

    Login Problem FTP SSH

    Hi
    I have a VPS with CentOS 5 installed and Kloxo v-6-1-4 as CP

    Suddenly I am not able to login FTP and SSH

    On FTP client I get the error: Could not connect to server
    And
    On Putty
    Server unexpectedly closed the network connection

    I have checked the Logs secure and messages


    The error output is in a text file attached with this thread

    I have tried to paste this code in this thread within Quote tags and without quote but was not accepted.
    I was getting the message
    You are only allowed to post URLs to other sites after you have made 15 posts or more.
    Attached Files Attached Files

  2. #2
    Just Joined!
    Join Date
    Oct 2007
    Posts
    8

    Don't ssh as root

    If you are trying to ssh or sftp to another machine it may be that Linux is disallowing remote access for 'root'. Some/most Linux systems block root directly logging in from anything but the console. Set up another user on the remote system and try ssh or sftp in as that user.

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    10
    Hi,
    Check your system disk usage.If the / partition disk usage is 100% the system won't allow you to login or run any service properly.
    Also check the output of netstat -ntlp. It shows the port and address the services are listening to.You can try to restart the ssh service once and check whether you are able to login remotely.

  4. #4
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    It could also be tcp wrappers denying the traffic, check /etc/hosts.allow and hosts.deny to see if has been denied.

Posting Permissions

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