Re: setting a password less ssh connection

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

 



hicham wrote:
> Hello
> 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
> 
Are you trying to log in as root, or as a user using key pairs? I
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
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux