Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenSSH with rlogin set to false

71 views
Skip to first unread message

Daniel Fong

unread,
Apr 17, 2002, 2:22:45 AM4/17/02
to
I am using OpenSSH_3.0.2p1 on AIX 4.3.3. Currently I have all my
users set with rlogin=false, and this is causing problems with SSH. I
am completely unable to log on to the target server, or even run
remote commands with rlogin=false, but am able to do so when rlogin is
set to true.

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?

Bob Smith

unread,
Apr 17, 2002, 9:40:37 AM4/17/02
to
try:
ssh <machine name> <command>

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...

Daniel Fong

unread,
Apr 17, 2002, 8:22:47 PM4/17/02
to
Bob,

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>...

H.G.Borrmann

unread,
Apr 18, 2002, 2:43:50 AM4/18/02
to
Daniel Fong wrote:

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 |

Ton Voon

unread,
Apr 18, 2002, 11:30:58 AM4/18/02
to
In article <3b8c8177.0204...@posting.google.com>,
aix_...@yahoo.com (Daniel Fong) wrote:

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

0 new messages