ndproboda
By:
ndproboda

Access Denied for putty or Winscp

December 17, 2014 10.4k views

Hi,
I cant access to the server using putty or winscp with my root user name and password .But it works well for console in the web site. why i cant access server from out side.

Thanks

4 comments
  • Is your sshd allowing remote root logins? The Console on the website is considered "local access" (like a kvm or being physically at the server) so it is not affected by the /etc/ssh/sshd_config settings.

  • Thanks for reply ,
    How do i find sshd allow remote root login or not.

  • There is a setting for this in /etc/ssh/sshd_config you can check. You may also want to try restarting your ssh server by running the command:

    /etc/init.d/ssh restart
    
  • Thank you. I changed PermitRootLogin to yes in /etc/ssh/sshd_config. Now Every thing ok.

    Thanks for the support.

1 Answer

This question was answered by @ryanpq:

There is a setting for this in /etc/ssh/sshd_config you can check. You may also want to try restarting your ssh server by running the command:

/etc/init.d/ssh restart

View the original comment

Have another answer? Share your knowledge.