- Custom sshd
- Posted by Bo Yang on October 30th, 2007
Hi
I want to use my authentication mechanism in my sshd. As well,
I do not want to run a shell after user succeed logining. Another
applicatoin will be run after user pass the validation. Could you please
tell me how can I achieve this? Thanks very much!
Regards!
Bo
- Posted by Dave Hinz on October 30th, 2007
On Tue, 30 Oct 2007 17:21:14 +0800, Bo Yang <struggleyb@gmail.com> wrote:
ssh user@remotehost commandtorun
- Posted by andrea on October 30th, 2007
On 30 Ott, 13:25, Dave Hinz <DaveH...@gmail.com> wrote:
And you can use keys to avoid inserting password manually every time 
- Posted by Sylvain Robitaille on October 30th, 2007
andrea wrote:
With the "authorized_keys" (or equivalent) file configured such that
only the command you want to run can be run with the key in question.
The OP might have to read some documentation and conduct some
experiments to be sure (s)he knows how to get it to behave exactly as
required.
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems and Network analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
- Posted by Glenn Jackman on October 30th, 2007
At 2007-10-30 05:21AM, "Bo Yang" wrote:
You could change the user's login shell to be your application: see
usermod.
--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
- Posted by Robert Melson on October 30th, 2007
In article <fg70ug$rig$1@news.cn99.com>,
Bo Yang <struggleyb@gmail.com> writes:
You'll have a better chance of getting an answer on
comp.security.ssh
See also if you can find a copy of what's known as "The
Snail Book": "SSH, The Secure Shell", "The Definitive Guide",
by Daniel J. Barrett and Richard E. Silverman, ISBN 0-596-00011-1,
from O'Reilly. This should answer just about any SSH question
you might have.
Bob Melson
--
Robert G. Melson | Rio Grande MicroSolutions | El Paso, Texas
-----
"People unfit for freedom---who cannot do much with it---are
hungry for power." ---Eric Hoffer
- Posted by Bo Yang on October 31st, 2007
Glenn Jackman :
you please tell me is that possible?
Regards!
Bo
- Posted by Bo Yang on October 31st, 2007
Robert Melson :
Thanks, I will post this message there to try to search some answers.
Regards!
Bo