kubernetes-the-hard-way/vagrant/ubuntu/ssh.sh

6 lines
179 B
Bash
Raw Normal View History

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