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 sudo adduser testuser Step 2 – Create a Directory for File Transfers sudo mkdir -p /var/sftp/uploads sudo chown root:root /var/sftp sudo chmod 755 /var/sftp sudo chown testuser:testuser /var/sftp/uploads Step 3 – Restrict Access to One Directory Open the SSH server configuration file sudo nano /etc/ssh/sshd_config Add the following to the bottom of the file:...

August 1, 2020 · 1 min · 125 words · Andrew

Just SSH to my Jump Box!

I am a professional software engineer and do an absolute ton of devops work as well. I’ve actually never been hired into devops roles as I always go in as a programmer, but I also always end up doing devops as well for various reasons. What tasks? These usually include things like: I like to get my code running on infrastructure as soon as possible for Proof of Concepts (POCs) and the like....

September 26, 2018 · 3 min · 540 words · Andrew