Ensure that the expected port is used
This commit is contained in:
parent
bbac58020a
commit
48b8940d54
|
@ -153,6 +153,8 @@ To complete the installation run the following:
|
|||
}
|
||||
|
||||
configure_ssh {
|
||||
sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
|
||||
|
||||
if [[ "$SSH_PUBKEY" != "no" ]]; then
|
||||
if [ ! -d $rootdir/home/$MY_USERNAME/.ssh ]; then
|
||||
mkdir $rootdir/home/$MY_USERNAME/.ssh
|
||||
|
|
Loading…
Reference in New Issue