安装:
需要服务器或vps装lsyncd
❤️ centos yum -y install lsyncd
❤️ debian apt-get install lsyncd
免登陆:
ssh-keygen -t rsa # 全部回车默认
然后,重新进入到源VPS上,执行命令:ssh-copy-id root@your_remote_server_IP ,再次输入远程登录密码,确认添加密钥。
现在你就可以在源VPS上直接使用:ssh root@your_remote_server_IP,不需要输入密码就可以进入到远程VPS
1 条评论