亚马逊AWS服务器远程连接

1、获取 ***.pem 文件

该文件是服务的证书文件,现在的AWS服务器只支持下载pem的证书

2、确认服务的账号

For Amazon Linux 2 or the Amazon Linux AMI, the user name is ec2-user.
For a CentOS AMI, the user name is centos.
For a Debian AMI, the user name is admin or root.
For a Fedora AMI, the user name is ec2-user or fedora.
For a RHEL AMI, the user name is ec2-user or root.
For a SUSE AMI, the user name is ec2-user or root.
For an Ubuntu AMI, the user name is ubuntu.
Otherwise, if ec2-user and root don't work, check with the AMI provider.

根据你开的不同的服务器类型,使用不同的账号,比如我使用的是Amazon Linux AMI服务器,那么我的默认账号是ec2-user

3、准备SSH客户端,有很多好用的客户端

这里我使用的是SecureCRT客户端,但是很遗憾的是这个客户端如果不预先配置好,无法配置pem的秘钥。但是可以预先配置好久可以了,如下图:

 

提前配置好,就可以使用pem格式的秘钥文件了

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值