Skip to content

Commit

Permalink
Only configure v2 ssh service when v2 services are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
emkll committed Jan 18, 2021
1 parent 7b6f780 commit 35f07eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ HiddenServicePort 80 127.0.0.1:8080
HiddenServiceAuthorizeClient stealth journalist
{% endif %}

{% if enable_ssh_over_tor %}
{% if enable_ssh_over_tor and v2_onion_services %}
HiddenServiceDir /var/lib/tor/services/ssh
HiddenServiceVersion 2
HiddenServicePort 22 127.0.0.1:22
Expand Down

0 comments on commit 35f07eb

Please sign in to comment.