Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Doug O'Leary
November 16, 2004, 7:00 pm
rate this thread
I'm helping a client set up a number of cron jobs via ssh
public key authentication. One system must run one commmand
with multiple options on a all the systems.
For instance, the calling script will run:
ssh -i $ $ /usr/local/sbin/ora_lvs $
for each host and oracle database on each host - depending on a
I would like to lock down the null-passphrased key to this command
only; however, I can't get openssh to acknowledge the oracle
command="/usr/local/sbin/ora_lvs *" ...
command="/usr/local/sbin/ora_lvs $*" ...
command="/usr/local/sbin/ora_lvs \*" ...
A quick google search implies that getting the command parameter to
accept arguments is a lost cause. Can someone confirm/refute that
Thanks for any tips/suggestions.
Senior UNIX Admin
O'Leary Computer Enterprises
firstname.lastname@example.org (w) 630-904-6098 (c) 630-248-2749
- Richard E. Silverman
November 17, 2004, 3:33 am
Re: openssh pka command =?
DOL> A quick google search implies that getting the command parameter
DOL> to accept arguments is a lost cause. Can someone confirm/refute
DOL> that for me?
% man ssh
The variable contains the original command line if a forced com-
mand is executed. It can be used to extract the original argu-
- » pubkey authorisation problem - how to setup a secure ssh
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum