summaryrefslogtreecommitdiff
path: root/sash
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-05-03 11:08:00 -0400
committerAndrew Cady <d@cryptonomic.net>2022-05-03 11:08:00 -0400
commitd475763e9b54979e2b96ad84c87ca484a88fc0df (patch)
treeced07ae2fd582ada082737a9075750d99e369b7c /sash
parentc7bd2e33b6a29fb24df0796d1a7c5bf2e22f35f3 (diff)
implement "penyou" to authorize current user on corresponding remote user, via sashHEADmaster
Diffstat (limited to 'sash')
-rwxr-xr-x[l---------]sash5
1 files changed, 4 insertions, 1 deletions
diff --git a/sash b/sash
index 62f8dc8..cc7fdda 120000..100755
--- a/sash
+++ b/sash
@@ -1 +1,4 @@
1penyou \ No newline at end of file 1#!/bin/sh
2sudo=$([ $(id -u) -eq 0 ] || echo sudo --)
3exec $sudo ssh -i /etc/ssh/ssh_host_ed25519_key -l root "$@"
4