diff options
-rwxr-xr-x | diabloii-tunnel | 2 |
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 |