window 使用PuTTYlianjie
Mac 使用SSH连接到Linux
.
.
打开终端窗口
把 download 的key复制到~/.ssh里面
cp ~/Downloads/test.pem ~/.ssh

使用 chmod 命令来确保您的私有**文件不是公开可见的,
用命令来限制对您的私有 SSH **的权限
chmod 400 ~/.ssh/test.pem

使用 SSH 连接到实例 到aws主机
ssh -i ~/.ssh/test.pem [email protected]


如果出现 port 22 time out是你的安全组入展设置没有SSH
添加一个类型在入站里就好
AWS考证方向:五、使用key**连接实例

转载于:https://blog.51cto.com/leoheng/2151453

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-10-09
  • 2021-09-03
  • 2021-12-12
  • 2021-12-10
  • 2021-06-17
猜你喜欢
  • 2021-11-28
  • 2022-01-03
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
相关资源
相似解决方案