@@ -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