Limit commands
From: Jonathan Villa (jvilla_at_innovativesource.net)
Date: 04/28/05
- Previous message: DDecounter_at_reviewjournal.com: "scp and prompting for password"
- Next in thread: Darren Tucker: "Re: Limit commands"
- Reply: Darren Tucker: "Re: Limit commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 28 Apr 2005 16:35:14 -0500 (CDT) To: secureshell@securityfocus.com
I've read over and over documentation concerning per-account server config and
forced commands...
Perhaps my understanding is incorrect, but I've gathered that I can force the
execution of a particular command upon login...
The command I want to execute is "/usr/bin/cvs server" although, for testing, I'm
simply trying /bin/echo a test
this is my setup
Fedora Code 3
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
SSH 2 only allowed
Public key authentication works flawlessly for the past several months
On server I have following
~/.ssh/authorized_keys
~/.ssh2/myuser.pub
~/.ssh2/authorization
In ~/.ssh2/authorization I have
#SSH 2 only
Key myuser.pub
Command "/bin/echo a test"
and when I login in via putty... nothing happens... no logs, nothing...
ideally, once I get this set up, I would like to remove the .ssh2 directory and just
the .ssh.... Also, I though I read in O'Reilly's SSH book that "Your authorization
file can contain not only keys but also other keywords or options to control the SSH
server in powerful ways"
I don't see this happening...
Totally clueless right now...
-- Jonathan
- Previous message: DDecounter_at_reviewjournal.com: "scp and prompting for password"
- Next in thread: Darren Tucker: "Re: Limit commands"
- Reply: Darren Tucker: "Re: Limit commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|