|
#!/bin/bash
|
|
|
|
# Enable password auth in sshd so we can use ssh-copy-id
|
|
sed -i 's/#PasswordAuthentication/PasswordAuthentication/' /etc/ssh/sshd_config
|
|
sed -i 's/KbdInteractiveAuthentication no/KbdInteractiveAuthentication yes/' /etc/ssh/sshd_config
|
|
systemctl restart sshd
|