Re: enabling root over ssh on F11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> Date: Sat, 12 Sep 2009 18:13:36 +0100
> From: Aaron Gray <[email protected]>
> Subject: Re: enabling root over ssh on F11
> To: "Community assistance, encouragement,       and advice for using
>        Fedora." <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> On 12/09/2009, Todd Zullinger <[email protected]> wrote:
>> Aaron Gray wrote:
>>> I need to enable root access via sshd. I will be using certificates and
>>> firewalled access.
>>> I tried remove the suffix " user != root quiet" from /etc/pam.d/gdm.
>> This only affects login via the Gnome Display Manager.
>>> Also added "PermitRootLogin yes" in /etc/ssh/sshd_config.
>> This is, AFAIK, the default.  It doesn't hurt having it, but it should
>> not be required.
>>> Also put SELinux into Permissive mode.
>>> But still neither root sshd nor login work.
>> I know that root logins via sshd work on F11, and there isn't anything
>> special required to allow it that I am aware of.  I think you should
>> post the details of the failure you are seeing.  Running ssh with -vvv
>> for more verbose output might help.  Also, check /var/log/secure on
>> the server to see if it includes any relevant information.  If you are
>> using key based authentication, you should look for lines indicating
>> that the ownership and permissions on your keys are incorrect.
> Its like the password is being rejected but the password works in
> 'su'. I am getting the following:-
> [email protected] ~]$ ssh -vvv [email protected]
> OpenSSH_5.2p1, OpenSSL 0.9.8k-fips 25 Mar 2009
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to [] port 22.
> debug1: Connection established.
> debug1: No more authentication methods to try.
> Permission denied (publickey,gssapi-with-mic,password).
> Any clues ?
> Aaron

Dumb question: are you sure ssh daemon is running on the server? Can
you login as non-root user to it?

Registered Linux User #487982. Be counted at:
Spandex is a privilege, not a right.
SIP: [email protected]
pub   1024D/085B139A 2009-09-11
uid                  Hiisi (Hiisi Troll) <[email protected]>
sub   2048g/F9138A60 2009-09-11

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux