mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 00:18:42 +09:00
firstboot: change value of 'KbdInteractiveAuthentication' to 'yes'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I5e9ce3611da43167b5166376d4a82fabddde4a55
This commit is contained in:
@@ -23,7 +23,8 @@ resize2fs ${rootdev}
|
||||
|
||||
rm -f /etc/ssh/ssh_host* && ssh-keygen -A
|
||||
|
||||
sed -i "s/PasswordAuthentication.*/PasswordAuthentication yes/g" /etc/ssh/sshd_config
|
||||
sed -i "s/^PasswordAuthentication.*/PasswordAuthentication yes/g" /etc/ssh/sshd_config
|
||||
sed -i "s/^KbdInteractiveAuthentication.*/KbdInteractiveAuthentication yes/g" /etc/ssh/sshd_config
|
||||
|
||||
systemctl enable ssh
|
||||
systemctl restart ssh
|
||||
|
||||
Reference in New Issue
Block a user