summaryrefslogtreecommitdiff
path: root/EndoForge/openssh/AuthorizedKeysCommand
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-24 04:58:30 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-24 05:48:56 -0400
commit187db8e649641aa64dc49c29ea6bbeba1f7cabf7 (patch)
tree7d4795161361f4bebe7d5d29dc111f77c1956728 /EndoForge/openssh/AuthorizedKeysCommand
parent82724b1955cb39fde0d920e3de7a61574502f56a (diff)
comments and fiddling
Diffstat (limited to 'EndoForge/openssh/AuthorizedKeysCommand')
-rwxr-xr-xEndoForge/openssh/AuthorizedKeysCommand5
1 files changed, 5 insertions, 0 deletions
diff --git a/EndoForge/openssh/AuthorizedKeysCommand b/EndoForge/openssh/AuthorizedKeysCommand
index 063444e..0e6d285 100755
--- a/EndoForge/openssh/AuthorizedKeysCommand
+++ b/EndoForge/openssh/AuthorizedKeysCommand
@@ -1,4 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2# Modified AuthorizedKeysCommand for running OpenSSH as unprivileged user.
3#
4# Uses the home directory of the calling user (ascertained through "id -un")
5# instead of the authenticated user.
6
2fingerprint=$3 7fingerprint=$3
3authline="$4 $5" 8authline="$4 $5"
4 9