autoprovision edit
This commit is contained in:
@@ -65,8 +65,8 @@ mkdir -p "${USER_HOME}"/.ssh
|
||||
cat << EOI > "${USER_HOME}"/.ssh/authorized_keys
|
||||
${USER_SSHPUB}
|
||||
EOI
|
||||
uci set dropbear.@dropbear[0].PasswordAuth="0"
|
||||
uci set dropbear.@dropbear[0].RootPasswordAuth="0"
|
||||
uci set dropbear.@dropbear[0].PasswordAuth="1"
|
||||
uci set dropbear.@dropbear[0].RootPasswordAuth="1"
|
||||
uci set dropbear.@dropbear[0].GatewayPorts='on'
|
||||
uci commit dropbear
|
||||
/etc/init.d/dropbear restart
|
||||
|
||||
Reference in New Issue
Block a user