Windows and Ubuntu prompt "Permission denied, please try again." through scp file transfer

Solution:

1. Write permission to the /home directory of the target server (192.168.3.56): chmod 766 /home

2. Modify PermitRootLogin in /etc/ssh/sshd_config of the target server to yes, and then restart ssh ( /etc/init.d/ssh restart ). Don't forget to restart.

 

Guess you like

Origin blog.csdn.net/kh815/article/details/87913749