Wednesday, November 14, 2018

Linux not connecting with WinSCP or any SFTP Client

if sftp using tools like winscp not connecting,

may be ssh not started.

start ssh manually using

/etc/init.d/ssh start

Reference

Do you have ssh as root disabled? Check your sshd configuration (possibly /etc/ssh/sshd_config) and look for the line PermitRootLogin no. Change the no to yes and restart sshd (most likely either service ssh restart or service sshd restart).

Some distributions (e.g., Ubuntu) default to without-password for PermitRootLogin such that root login is allowed via public key authentication, but not with a password.

Reference

No comments:

Post a Comment