如何在Amazon EC2上运行ssh-copy-id

ubuntu
2015-09-28 19:17

激活ssh agent

ssh-agent bash

添加EC2的key

ssh-add ~/.ssh/ec2-instance-key.pem

将开发机的ssh key传送到EC2上

ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] 

测试

加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI

如何在Amazon EC2上运行ssh-copy-id

ubuntu
2015-09-28 19:17

激活ssh agent

ssh-agent bash

添加EC2的key

ssh-add ~/.ssh/ec2-instance-key.pem

将开发机的ssh key传送到EC2上

ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] 

测试

加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI

如何在Amazon EC2上运行ssh-copy-id

ubuntu
2015-09-28 19:17

激活ssh agent

ssh-agent bash

添加EC2的key

ssh-add ~/.ssh/ec2-instance-key.pem

将开发机的ssh key传送到EC2上

ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] 

测试

加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI