mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-14 08:48:58 +03:00
7 lines
271 B
Bash
7 lines
271 B
Bash
|
|
#!/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
|