Re: setting a password less ssh connection

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

 



Stephen Mirowski wrote:
> 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
>>
> I believe if you enable:
> 
> #PermitEmptyPasswords no
> 
> and change to "yes" in /etc/ssh/sshd_config, then restart you sshd, it
> should allow no passwords.  Personally, I recommend against remote
> access w/o passwords.
> 
> Stephen Mirowski
> 
You also need to create an account with an empty password to log
into. It also means that the user can log in locally without using a
password. (Just hit enter when it asks for a password.) I have not
tested it, but sshd may still ask for a password, but allow you to
hit enter when asked. The default setting will not let you connect
to this type of account using passwords. I believe it will let you
connect using key pairs. At a guess, I would say it is designed to
prevent remote logins using a "guest" account that does not require
a password...


PermitEmptyPasswords
   When password authentication is allowed, it specifies whether the
   server allows login to accounts with empty password strings.  The
   default is ``no''.

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