赞
踩
参考资料:https://zhuanlan.zhihu.com/p/104131448
https://www.cnblogs.com/dev-sy/p/12893012.html
首先,你需要下载安装vscode ide,安装过程大家自行百度。
ssh-keygen -t rsa
scp id_rsa.pub youraccount@yourip:/var/www/
cat id_rsa.pub > authorized_keys
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile ~/.ssh/authorized_keys
service sshd restart
ssh youraccount@yourip
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。