Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 scp 将文件从本地上传到 ec2,但出现权限错误。
Permission denied (publickey). lost connection
我该如何解决?
您需要上传 ssh 密钥。
这是一篇文章的链接,向您展示了如何设置:
http://alestic.com/2010/10/ec2-ssh-keys
另外,请参见:
AWS ssh 访问“权限被拒绝(公钥)”问题