AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  sshd query

    Posted Sun November 27, 2011 05:54 AM

    Originally posted by: himacs


    Hi Admins,

    I have disabled direct remote root login by modifying sshd_config file.Changed PermitRootLogin to NO. And stopped the sshd service using stopsrc -s sshd.But not able to start. sshd will become inoperative state.

    If i revoke the change i made to sshd_config, sshd will start again without problem.

    I think i modified the file with wrong format.

    Please let me know your views.

    Regards
    Pavan
    #AIX-Forum


  • 2.  Re: sshd query

    Posted Sun November 27, 2011 11:14 PM

    Originally posted by: SystemAdmin


    Try running sshd -t before you restart the sshd daemon, as this will test for configuration errors in the sshd_config file.

    Also try: startsrc -g ssh
    #AIX-Forum


  • 3.  Re: sshd query

    Posted Mon November 28, 2011 05:24 AM

    Originally posted by: tony.evans


    Use 'no' instead of 'NO'.

    It's annoyingly case sensitive.
    #AIX-Forum