Properly create the host_id_rsa if enable ssh is set

This commit is contained in:
nicolas.dorier 2019-09-21 23:02:42 +09:00
parent 18dd7fd8a9
commit b772b5d351
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -238,6 +238,7 @@ if $BTCPAY_ENABLE_SSH && [[ "$BTCPAY_HOST_SSHAUTHORIZEDKEYS" ]]; then
touch $BTCPAY_HOST_SSHAUTHORIZEDKEYS
fi
BTCPAY_SSHAUTHORIZEDKEYS="/datadir/host_authorized_keys"
BTCPAY_SSHKEYFILE="/datadir/host_id_rsa"
use_ssh=true
fi