我尝试将代码SSH添加到aw cat ssh-rsa [SSH_KEY] >> .ssh/authorized_keys
,但我遇到了关于http://www.eq8.eu/blogs/19-setting-up-simple-wordpress-deployment-with-codeship-to-aws-ec2的错误cat: ssh-rsa: No such file or directory
请让我知道如何解决它。因为我现在正试图将nodejs应用程序部署到具有代码的aws。或者无论如何我可以将nodejs应用程序部署到具有代码的aws。
答案 0 :(得分:0)
您可以在项目常规设置页面上找到Codeship项目的公钥。然后,您可以使用此密钥并将其添加到要部署到的EC2实例上的.ssh/authorized_keys
文件中。
有关此主题的文档文章,请参阅https://documentation.codeship.com/general/projects/project-ssh-key/。