柏舟_overstone

Be aware of time.

digitalOcean droplets + VPS架设 备忘

伟大的防火墙把我原先架设的vps服务器ban了,没办法重新买了个droplet(洛杉矶二集群),装上ubuntu和shadowsocksR服务。其它都挺正常,只是看起来现在digitalOcean新开的虚拟机默认禁用了ssh密码登录权限,得手动开,备忘一下:

登录目标机器 打开 /etc/ssh/sshd_config ,修改PasswordAuthentication no 为:

PasswordAuthentication yes

重启服务(sshd/ssh)

/etc/init.d/sshd restart


   
© 柏舟_overstone | Powered by LOFTER
评论(1)