Unix Technical Forum

OpenSSH with RLOGIN=false

This is a discussion on OpenSSH with RLOGIN=false within the AIX Operating System forums, part of the Unix Operating Systems category; --> Is there an alternative way for the user still able to use SSH to login to AIX with RLOGIN=false? ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2008, 02:27 PM
Dave
 
Posts: n/a
Default OpenSSH with RLOGIN=false

Is there an alternative way for the user still able to use SSH to
login to AIX with RLOGIN=false?
Also for the user able to use SFTP with RLOGIN=false?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-07-2008, 02:27 PM
Henry
 
Posts: n/a
Default Re: OpenSSH with RLOGIN=false

On Mar 7, 7:48 am, Dave <davehk...@gmail.com> wrote:
> Is there an alternative way for the user still able to use SSH to
> login to AIX with RLOGIN=false?
> Also for the user able to use SFTP with RLOGIN=false?


what are you wanting to achieve ?
Good idea having rlogin=false but it does restrict access "a bit"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-09-2008, 01:33 PM
Dave
 
Posts: n/a
Default Re: OpenSSH with RLOGIN=false

On Mar 6, 6:12*pm, Henry <snogfest_hosebe...@yahoo.com> wrote:
> On Mar 7, 7:48 am, Dave <davehk...@gmail.com> wrote:
>
> > Is there an alternative way for the user still able to use SSH to
> > login to AIX with RLOGIN=false?
> > Also for the user able to use SFTP with RLOGIN=false?

>
> what are you wanting to achieve ?
> Good idea having rlogin=false but it does restrict access "a bit"


I am trying to help with the SFTP from MainFrame to AIX.
I thought the newer version of OpenSSH (4.3.x) is able to allow the
user use SSH clinet with RLOGIN=false.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-09-2008, 01:33 PM
Bob Dobbs
 
Posts: n/a
Default Re: OpenSSH with RLOGIN=false

Dave wrote:
> On Mar 6, 6:12 pm, Henry <snogfest_hosebe...@yahoo.com> wrote:
>> On Mar 7, 7:48 am, Dave <davehk...@gmail.com> wrote:
>>
>>> Is there an alternative way for the user still able to use SSH to
>>> login to AIX with RLOGIN=false?
>>> Also for the user able to use SFTP with RLOGIN=false?

>> what are you wanting to achieve ?
>> Good idea having rlogin=false but it does restrict access "a bit"

>
> I am trying to help with the SFTP from MainFrame to AIX.
> I thought the newer version of OpenSSH (4.3.x) is able to allow the
> user use SSH clinet with RLOGIN=false.


If I'm understanding the question correctly, and from my experiences
with ssh on AIX to date, ssh access and inetd services access (such as
login, rlogin, rsh, etc...) are 2 different things. ssh access is
controlled by /path/to/sshd_config (ssh server config) and
/path/to/ssh_config (client access config). So, "rlogin=false" should
not have anything to do with sftp, scp, ssh operations.

To see what "inetd" services are active (and this is specific to AIX,
not ssh) run lssrc -ls inetd (or see what is uncommented in
/etc/inetd.conf). To see whether a user can login (console), rlogin
(remote access via telnet), lsuser -a login rlogin username

Hope that helps...

Pete
p.s. Don't forget to "refresh -s inetd" if any services are changed or
stopsrc -s sshd && startsrc -s sshd to refresh sshd if any of its
configuration has been changed...P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-10-2008, 04:53 PM
Henry
 
Posts: n/a
Default Re: OpenSSH with RLOGIN=false

On Mar 10, 2:50 am, Bob Dobbs <bdo...@subgenius.com> wrote:
> Dave wrote:
> > On Mar 6, 6:12 pm, Henry <snogfest_hosebe...@yahoo.com> wrote:
> >> On Mar 7, 7:48 am, Dave <davehk...@gmail.com> wrote:

>
> >>> Is there an alternative way for the user still able to use SSH to
> >>> login to AIX with RLOGIN=false?
> >>> Also for the user able to use SFTP with RLOGIN=false?
> >> what are you wanting to achieve ?
> >> Good idea having rlogin=false but it does restrict access "a bit"

>
> > I am trying to help with the SFTP from MainFrame to AIX.
> > I thought the newer version of OpenSSH (4.3.x) is able to allow the
> > user use SSH clinet with RLOGIN=false.

>
> If I'm understanding the question correctly, and from my experiences
> with ssh on AIX to date, ssh access and inetd services access (such as
> login, rlogin, rsh, etc...) are 2 different things. ssh access is
> controlled by /path/to/sshd_config (ssh server config) and
> /path/to/ssh_config (client access config). So, "rlogin=false" should
> not have anything to do with sftp, scp, ssh operations.
>
> To see what "inetd" services are active (and this is specific to AIX,
> not ssh) run lssrc -ls inetd (or see what is uncommented in
> /etc/inetd.conf). To see whether a user can login (console), rlogin
> (remote access via telnet), lsuser -a login rlogin username
>
> Hope that helps...
>
> Pete
> p.s. Don't forget to "refresh -s inetd" if any services are changed or
> stopsrc -s sshd && startsrc -s sshd to refresh sshd if any of its
> configuration has been changed...P


hmm... ok, I'm perhaps mistaken, because what you're saying makes a
lot of sense.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-21-2008, 03:08 PM
Junior Member
 
Join Date: May 2008
Posts: 1
Default

We are moving from openssh 4.3 to openssh 4.7. The behavior is different depending on version. All is under AIX 5.3.

openssh 4.3:

when rlogin=false, you CANNOT do ssh (interactive session), but you can do sftp (which use ssh underneath)

openssh 4.7p1:

when rlogin=false, you CANNOT do ssh AND sftp.

Anybody knows how to change the behavior to go back to the way 4.3 was working (and pls do not tell me to go back to 4.3 ).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com