summaryrefslogtreecommitdiff
path: root/manifests/ssh.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/ssh.pp')
-rw-r--r--manifests/ssh.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/ssh.pp b/manifests/ssh.pp
new file mode 100644
index 0000000..b39e11f
--- /dev/null
+++ b/manifests/ssh.pp
@@ -0,0 +1,7 @@
+class onion::ssh {
+ tor::daemon::hidden_service { 'ssh':
+ ports => [ "22 127.0.0.1:22" ],
+ data_dir => "${tor::daemon::data_dir}/hidden",
+ ensure => present,
+ }
+}