summary refs log tree commit diff
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2022-12-19 13:05:11 -0600
committerStarfall <us@starfall.systems>2022-12-19 13:05:11 -0600
commitb261f5de0cb96e164fd9931c5f1c5a532566e457 (patch)
tree10a57b9fc6617c1cfeaae76c5c7cd036975c4a73
parent619f756e115948e95f0ae3e51f170fc79a558b29 (diff)
diabloii-tunnel: correct typo from rewrite
-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