Skip to content

Commit 09335c8

Browse files
committed
Fix sftp server validation check, thanks to @dbannik!
1 parent 63ddd30 commit 09335c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
1414
- Enable hsts and force ssl on v-add-letsencrypt-host.
1515
- Prevent login action for webmail in list user view.
1616
- Remove hardcoded mail in helo data (cosmetic fix).
17+
- Fix sftp server validation check, thanks to @dbannik!
1718

1819
## [1.0.4] - 2019-07-09 - Hotfix
1920
### Bugfixes

bin/v-add-backup-host

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ EOF
3838
sftpc() {
3939
expect -f "-" <<EOF "$@"
4040
set count 0
41-
spawn "/usr/bin/sftp -o StrictHostKeyChecking=no -o \
42-
Port=$port '$user@$host'"
41+
spawn /usr/bin/sftp -o StrictHostKeyChecking=no -o Port=$port $user@$host
4342
expect {
4443
"password:" {
4544
send "$password\r"

0 commit comments

Comments
 (0)