소스 검색

Ensure that the expected port is used

Bob Mottram 9 년 전
부모
커밋
48b8940d54
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      src/freedombone-image-customise

+ 2
- 0
src/freedombone-image-customise 파일 보기

@@ -153,6 +153,8 @@ To complete the installation run the following:
153 153
 }
154 154
 
155 155
 configure_ssh {
156
+    sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
157
+
156 158
     if [[ "$SSH_PUBKEY" != "no" ]]; then
157 159
         if [ ! -d $rootdir/home/$MY_USERNAME/.ssh ]; then
158 160
             mkdir $rootdir/home/$MY_USERNAME/.ssh