How to Setup an SSH Server on AWS
Basic instructions on how to set up an SSH server on an Ubuntu 16.04/18.04 EC2 instance.
Step 1 – Create a New User
|
|
Step 2 – Create a Directory for File Transfers
Step 3 – Restrict Access to One Directory
Open the SSH server configuration file
|
|
Add the following to the bottom of the file:
Apply the configuration changes
|
|
Step 4 – Verify the Configuration
Verify the user cannot via SSH
|
|
Verify the user can connect via SFTP
|
|