Enable SSH login for user root (#3)
This commit is contained in:
parent
87c29b3fd0
commit
6cc054c8e9
1 changed files with 3 additions and 0 deletions
3
vps2arch
3
vps2arch
|
@ -240,6 +240,9 @@ finalize() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enable SSH login for user root (#3)
|
||||||
|
sed -i '/^#PermitRootLogin\s/s/.*/&\nPermitRootLogin yes/' /etc/ssh/sshd_config
|
||||||
|
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
Hi,
|
Hi,
|
||||||
your VM has successfully been reimaged with Arch Linux.
|
your VM has successfully been reimaged with Arch Linux.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue