Warning: Authentication failure. Retrying...
2015-07-09 17:09
645 查看
制作vagrant base box之后启动总是出现这样的警告,记录下解决步骤:
1.vagrant用户必须存在,所以/home/vagrant目录也必须要存在的
2.导入vagrant公钥:
sudo -u vagrantchmod 600 .ssh/authorized_keys
sudo -u vagrantchown -R vagrant:vagrant .ssh[/code]
1.vagrant用户必须存在,所以/home/vagrant目录也必须要存在的
2.导入vagrant公钥:
cd /home/vagrant
sudo -u vagrantwget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys
sudo -u vagrantchmod 700 .ssh
sudo -u vagrantchmod 600 .ssh/authorized_keys
sudo -u vagrantchown -R vagrant:vagrant .ssh[/code]
相关文章推荐
- LeetCode Contains Duplicate II
- rails update table using ajax
- COPY, RETAIN, ASSIGN , READONLY , READWRITE,STRONG,WEAK,NONATOMIC整理--转
- cloudstack中的user,account,domain和project解释
- 『HTML5实现人工智能』小游戏《井字棋》发布,据说IQ上200才能赢【算法&代码讲解+资源打包下载】
- [LeetCode]Container With Most Water(贪心)
- 关于Lock wait timeout exceeded; try restarting transaction
- The Managed Metadata Service or Connection is currently not available
- The Managed Metadata Service or Connection is currently not available 分类: Sharepoint 2015-07-09 13:28 5人阅读 评论(0) 收藏
- copy,assign,strong,retain,weak,readonly,nonatomic的区别
- How to disable Grub's menu from showing up after failed boot
- openwrt上opkg更新报错"opkg_download: Failed to download ............."
- 技术大牛博客http://blog.csdn.net/dbzhang800/article/details/6300789
- 基于bootstarp的Dailog
- 手机版百度m.baidu.com被运营商劫持到xjcf168.com
- 关于MVC结构中的action,service,dao,domain的解释
- UVa 10803 - Thunder Mountain
- Leetcode 172 Factorial Trailing Zeroes
- training key points
- Slave failed to initialize relay log info structure from the repository