Differences
This shows you the differences between the selected revisions of the page.
2019-06-04 | 2020-05-04 | ||
updating for changes in EC2 dashboard + 5.12 Bug 1589 – Use SHA-256 host key fingerprints (martin) | Session Manager (martin) | ||
Line 1: | Line 1: | ||
====== Connecting Securely to Amazon EC2 Server with SFTP ====== | ====== Connecting Securely to Amazon EC2 Server with SFTP ====== | ||
With WinSCP you can easily upload and manage files on your Amazon EC2 (Elastic Compute Cloud) instance/server over [[sftp|SFTP protocol]]. | With WinSCP you can easily upload and manage files on your Amazon EC2 (Elastic Compute Cloud) instance/server over [[sftp|SFTP protocol]]. | ||
+ | |||
+ | ===== Direct Connection ===== | ||
Before starting you should: | Before starting you should: | ||
Line 51: | Line 53: | ||
For details, see a guide to [[guide_tunnel|connecting to an SFTP server which can be accessed via another server only]]. | For details, see a guide to [[guide_tunnel|connecting to an SFTP server which can be accessed via another server only]]. | ||
+ | |||
+ | ===== [[ssm]] Connecting using AWS SSM (Session Manager) ===== | ||
+ | |||
+ | In //Host name//, specify your //Instance ID//. | ||
+ | |||
+ | On [[ui_login_advanced|Advanced Site Settings dialog]], go to //Proxy Page//. There: | ||
+ | |||
+ | * For //Proxy type//, select //Local//. | ||
+ | * In //Local proxy command//, specify: \\ <code>aws ssm start-session --target %host --document-name AWS-StartSSHSession --parameters "portNumber=%port" --profile <aws profile> --region <region></code> | ||
+ | * For //Do DNS name lookup at proxy end//, select //No//. | ||
===== Further reading ===== | ===== Further reading ===== |