Launch AWS AMI With Preconfigured Password

lock_passwd: False
sudo vim /etc/ssh/sshd_config
PasswordAuthentication yes
sudo passwd ubuntu
sudo service ssh restart
sudo vim /etc/cloud/cloud.cfg
lock_passwd: False

--

--

--

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cutting RDS costs in half

Scrape Your Way To Thousands of Interview Reviews

4 Ways to Set up a WordPress Plugin Boilerplate.

Publishing Java / android / kotlin libraries on Jitpack

Multi-Node Docker Swarm on CentOS 8 Stream, Installed on  ESXi Host

Reliable Web Application Development Company in Vietnam

7 ways low-code solutions accelerate digital transformation

Jobs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kevin FOO

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

More from Medium

Deploying a website to Amazon S3 using CloudFront and Cloudflare

Deploy a macOS instance on Amazon EC2

AWS Elastic Beanstalk disable journald RateLimitBurst

Amazon SNS — One to Many app interactions