Re: Restricting remote ssh key commands with a regex?
- From: Greg Wooledge <wooledg@xxxxxxxxxxx>
- Date: Tue, 28 Apr 2009 14:00:00 -0400
On Tue, Apr 28, 2009 at 05:58:36PM +0100, Hari Sekhon wrote:
I am used to restricting remote ssh key commands in the auth keys file
but I have an instance where it would be necessary to define a very nice
tight regex to allow me to specify a command where only the IP address
changes and I cannot predict the IP address in advance.
Write a wrapper script which accepts the IP address as a parameter,
validates it against whatever criteria you need, then invokes the
original command with the provided IP address (or aborts).
- References:
- Restricting remote ssh key commands with a regex?
- From: Hari Sekhon
- Restricting remote ssh key commands with a regex?
- Prev by Date: Restricting remote ssh key commands with a regex?
- Next by Date: want to know what the othe ssh user is doing
- Previous by thread: Restricting remote ssh key commands with a regex?
- Next by thread: want to know what the othe ssh user is doing
- Index(es):
Relevant Pages
|