summaryrefslogtreecommitdiff
path: root/dot/local/bin/penyou
diff options
context:
space:
mode:
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