#ubuntu1404

Win-Sshfs无法连ubuntu1404原因

ubunbtu默认不允许root远程访问,设置为允许就可以了1)vi/etc/ssh/sshd_config,将PermitRootLogin的值改成yes,并保存 [plain] viewplain copy PermitRootLogin yes &nbs...

ssh.sh_for_ubuntu1404

#!/bin/bashsed-i's/PermitRootLoginwithout-password/PermitRootLoginyes/g'/etc/ssh/sshd_configsed-i's/#PasswordAuthenticationyes/PasswordAuthenticationyes/g'/etc/...
代码星球 ·2020-04-03