Is there any way to use OpenSSH to run commands on remote servers (ie.
no need for interactive sessions) without enabling rlogin rights for
the user?
That might be able to let you run one command... I think I've done that in
the past.
"Daniel Fong" <aix_...@yahoo.com> wrote in message
news:3b8c8177.02041...@posting.google.com...
I have already tried your suggestion, and the response I get is:
username@host's password:
Permission denied, please try again.
However, I am able to run the command successfully once rlogin=true is
set for the user.
"Bob Smith" <darkave...@NOSPAM.hotmail.com> wrote in message news:<pXev8.5166$R33.2...@typhoon.austin.rr.com>...
ssh requires rlogin=true for remote command execution. This is also true for root
--
.______________________________________________________________.
|H.G.Borrmann |Tel.: (0761) 203-4652 |
|Rechenzentrum der Universitaet Freiburg|Fax: (0761) 203-4643 |
|Hermann-Herder-Str. 10 D79104 FREIBURG |
Daniel,
Please do not top post.
You need to recompile with WITH_AIXAUTHENTICATE set to 0. Not quite sure
how to specify this - I've been looking at the source for openssh 2.9
and it is checked in configure.
In auth.c, if WITH_AIXAUTHENTICATE is set, it will check the rlogin
attribute (amongst others) to see if the user is allowed access.
Warning: there maybe other effects of setting WITH_AIXAUTHENTICATE to 0
- YMMV.
Ton