mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-17 23:44:21 +01:00
Properly create the host_id_rsa if enable ssh is set
This commit is contained in:
@@ -238,6 +238,7 @@ if $BTCPAY_ENABLE_SSH && [[ "$BTCPAY_HOST_SSHAUTHORIZEDKEYS" ]]; then
|
|||||||
touch $BTCPAY_HOST_SSHAUTHORIZEDKEYS
|
touch $BTCPAY_HOST_SSHAUTHORIZEDKEYS
|
||||||
fi
|
fi
|
||||||
BTCPAY_SSHAUTHORIZEDKEYS="/datadir/host_authorized_keys"
|
BTCPAY_SSHAUTHORIZEDKEYS="/datadir/host_authorized_keys"
|
||||||
|
BTCPAY_SSHKEYFILE="/datadir/host_id_rsa"
|
||||||
use_ssh=true
|
use_ssh=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user