반응형
mkdir -p /home/vagrant/.ssh 

sudo chmod 0700 /home/vagrant/.ssh 

sudo wget --no-check certificate https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/authorized_keys 

sudo chmod 0600 /home/vagrant/.ssh/authorized_keys 

sudo chown -R vagrant /home/vagrant/.ssh



패키징할때 뭘 잘못했는진 모르겠는데.. vagrant ssh로 직접 접근해서 ssh key를 다시 설치하니까 잘된다.


반응형
,