Re: setting a password less ssh connection
- From: Karl Larsen <k5di@xxxxxxxxxx>
- Date: Fri, 19 May 2006 16:45:50 -0600
Mikkel L. Ellertson wrote:
hicham wrote:I think that is the way to keep it. I log in as a trusted user and then use su - and give the root password and then I am root on that distant computer. I can do almost everything you can do on your own computer. That is how I keep the computer on top of the mountain happy. And I can sftp new software and reboot the computer. Not bad.
HelloAre you trying to log in as root, or as a user using key pairs? I
I'm having trouble to set a passwordless ssh connection between many pcs ,
I've found lot on the web about exchanging public keys but i still
cannot make it password less
thanks
hicham
would have to double check, but I don't think the default sshd
configuration allows root logins. I have "PermitRootLogin no" in my
config file. It needs to be "PermitRootLogin without-password"
instead. (without-password prevents root from logging in using a
password, but will allow it using a key pair.)
PermitRootLogin
Specifies whether root can log in using ssh(1). The argument
must be ``yes'', ``without-password'', ``forced-commands-only''
or ``no''. The default is ``yes''.
If this option is set to ``without-password'' password authenti-
cation is disabled for root.
If this option is set to ``forced-commands-only'' root login with
public key authentication will be allowed, but only if the
command option has been specified (which may be useful for taking
remote backups even if root login is normally not allowed). All
other authentication methods are disabled for root.
If this option is set to ``no'' root is not allowed to log in.
Mikkel
Karl
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: setting a password less ssh connection
- From: Mikkel L. Ellertson
- Re: setting a password less ssh connection
- References:
- setting a password less ssh connection
- From: hicham
- Re: setting a password less ssh connection
- From: Mikkel L. Ellertson
- setting a password less ssh connection
- Prev by Date: Re: Extremely poor performance crunching random numbers under PIV-FC5
- Next by Date: Re: Resizing desktop icon
- Previous by thread: Re: setting a password less ssh connection
- Next by thread: Re: setting a password less ssh connection
- Index(es):
Relevant Pages
|