I have user and password auth configured for my instances but every one I launch i have to add this to the bootstrap
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config sudo service sshd restart
Is there a reason creating an image from an existing instance isn't copying that file?
Edited by: witchkinkofangmar on Oct 11, 2019 10:49 AM
https://stackoverflow.com/questions/18344390/how-do-i-get-aws-ec2-to-not-reset-my-sshd-config-file
Configuration is in the /etc/cloud/cloud.cfg file
Accesso non effettuato. Accedi per postare una risposta.
Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.