Skip to content
Snippets Groups Projects
Commit 48b8940d authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that the expected port is used

parent bbac5802
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment