📜  VM:警告:远程连接断开.重试... - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:52.945000             🧑  作者: Mango

代码示例1
wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
chown -R vagrant:vagrant ~/.ssh