summaryrefslogtreecommitdiff
path: root/dot/local/bin/penyou
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-03-04 13:33:48 -0500
committerAndrew Cady <d@jerkface.net>2021-03-04 13:33:48 -0500
commitfd9c04398afd1ae01e73b4b2c1c9214e01b0001e (patch)
tree9a94e30fbf50cef6efebca8790146413510fe650 /dot/local/bin/penyou
parent2d565dd213f5342b5a76e264ef6894da283b6c98 (diff)
scripts copied from penme.git
Diffstat (limited to 'dot/local/bin/penyou')
-rwxr-xr-xdot/local/bin/penyou4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot/local/bin/penyou b/dot/local/bin/penyou
new file mode 100755
index 0000000..cc7fdda
--- /dev/null
+++ b/dot/local/bin/penyou
@@ -0,0 +1,4 @@
1#!/bin/sh
2sudo=$([ $(id -u) -eq 0 ] || echo sudo --)
3exec $sudo ssh -i /etc/ssh/ssh_host_ed25519_key -l root "$@"
4