首页 > 代码库 > Remote connect to Amazon EC2 instance
Remote connect to Amazon EC2 instance
Remote Connect to Amazon EC2 Linux Instance such as NAT from Windows Using PuTTY
http://docs.aws.amazon.com/gettingstarted/latest/wah-linux/getting-started-deploy-app-connect.html
Note:
- The username for the linux AMI is ec2-user. (used in PuTTY)
- Add the following rule to that linux instance security group so that you can connect to that instance via port 22 (SSH):
Remote Connect to Amazon EC2 Windows Instance such as web server through Amazon EC2 Linux Instance such as Bastion
Sometimes you need to remote connect to EC2 windows instance through EC2 linux instance (Bastion)
Config as the section "Connect to Your Amazon EC2 Linux such as NAT Instance from Windows Using PuTTY" describes above.
Add map between localhost and web server as follows,
Note:
Source port: port for localhost.
Destination: the Windows server you want to connect such as web server.
- Connect to Your Amazon EC2 Linux such as NAT Instance from Windows Using PuTTY
- Then you can remote connect to the Windows server as follows,
Remote connect to Amazon EC2 instance
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。