使用SecureCRT连接AWS的EC2
2015-01-15 10:25
459 查看
如果使用CentOS等linux系统,直接使用ssh命令即可访问AWS上的Linux-EC2实例。
$ ssh -i XXX.pem ec2-user@{IP/hostname}
在Windows系统上就需要使用SecureCRT,Putty等工具,进行连接。但是AWS提供的XXX.pem文件,不能直接在这些工具里使用,需要做一些处理,才可以。
下面说明一下,SecureCRT的方法:
1、使用XXX.pem文件生成一个公钥文件XXX.pem.pub
$chmod 400 XXX.pem
$ ssh-keygen -e -f XXX.pem > XXX.pem.pub
这两个文件最好放在同一目录下。
2、使用SecureCRT配置连接
填写EC2地址,将“publicKey”调整至第一项,点击“Properties”选项。
3、选择“Use Session public key”,将生成的XXX.pem.pub文件绝对路径填入,点击“OK”。
4、点击“Connect”,出现下图,说明连接成功。
点击默认按钮即可。
整个过程非常简单。
$ ssh -i XXX.pem ec2-user@{IP/hostname}
在Windows系统上就需要使用SecureCRT,Putty等工具,进行连接。但是AWS提供的XXX.pem文件,不能直接在这些工具里使用,需要做一些处理,才可以。
下面说明一下,SecureCRT的方法:
1、使用XXX.pem文件生成一个公钥文件XXX.pem.pub
$chmod 400 XXX.pem
$ ssh-keygen -e -f XXX.pem > XXX.pem.pub
这两个文件最好放在同一目录下。
2、使用SecureCRT配置连接
填写EC2地址,将“publicKey”调整至第一项,点击“Properties”选项。
3、选择“Use Session public key”,将生成的XXX.pem.pub文件绝对路径填入,点击“OK”。
4、点击“Connect”,出现下图,说明连接成功。
点击默认按钮即可。
整个过程非常简单。
相关文章推荐
- 使用SecureCRT连接AWS的EC2
- 使用SecureCRT连接AWS EC2
- 使用SecureCRT连接AWS的EC2(Linux系统)
- 在Windows系统上怎么使用SecureCRT链接Linux AWS EC2 -摘自网络
- AWS EC2 通过Linux终端:使用ssh连接到Linux实例
- 【基础】使用Ansible连接AWS EC2
- 使用xshell通过pem连接云服务器(AWS_EC2)
- 通过SecureCRT连接AWS EC2 Linux
- 使用SecureCRT连接AWS的EC2(Linux系统)
- windows下使用SecureCRT登陆AWS EC2服务器
- ubuntu下使用SecureCRT和PUTTY连接串口
- 使用git管理nodejs+socket.io+redis+juicer+waterfall+ubuntu+aws ec2开发网站
- Windows下面使用Putty、SecureCRT连接Ubuntu12
- 使用SecureCRT连接ubuntu
- 使用secureCRT连接linux虚拟机时出现“The remote system refused the connection.”
- SecureCRT 连接 linux,使用 sqlplus 格式化显示
- 使用SecureCRT连接华为设备串口设置
- SecureCRT连接到Linux后使用sqlplus的退格删除
- 使用SecureCRT连接Dynamips时, 报错:The remote system refused the connection??前几天还是好好的,奇怪。。
- 如何使用SecureCRT连接ubuntu ,远程主机无响应、乱码、无防火墙错。。等等错误解决