Displaying 1 result from an estimated 1 matches for "authenticated_key".
Did you mean:
authenticated_keys
2006 Mar 08
4
[Bug 1172] [PATCH] Restrict public key authentication to scp access only
..."This option might be useful to
restrict certain public keys to perform just a specific operation". By
(slightly) abusing this feature one can restrict public key authentication to
only allow scp, i.e., no shell or command execution, for a specific key.
1. Modify the public key in .ssh/authenticated_keys to include
'command="scp-only"'.
2. Apply the attached patch to session.c, RCSID("$OpenBSD: session.c,v 1.191
2005/12/24 02:27:41 djm Exp $"), included in the source for portable
openssh-4.3p2.
The patch takes advantage of the check for the existence of a value in
for...