summary refs log tree commit diff
path: root/diabloii-tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'diabloii-tunnel')
-rwxr-xr-xdiabloii-tunnel2
1 files changed, 1 insertions, 1 deletions
diff --git a/diabloii-tunnel b/diabloii-tunnel
index bde7906..14d3602 100755
--- a/diabloii-tunnel
+++ b/diabloii-tunnel
@@ -13,7 +13,7 @@ chown $service:nogroup /home/$service/.ssh
 chmod 700              /home/$service/.ssh
 
 echo "Adding pubkey..."
-echo pubkey          > /home/$service/.ssh/authorized_keys
+echo $pubkey         > /home/$service/.ssh/authorized_keys
 chown $service:nogroup /home/$service/.ssh/authorized_keys
 chmod 600              /home/$service/.ssh/authorized_keys