Re: accessing a fedora box (latest fedora 35) from Windows using PuTTY/WinSCP only possible with userid/password

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

 



On Sat, 20 Nov 2021 at 08:16, Walter H. via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello,

can someone please give me a hint, where to look for the following
problem ...

I have several Linux VMs (all except this one are CentOS), and I took
/root/.ssh/authorized_keys from one of them
and copied it onto this Fedora box;

accessing from my Jump-VM also directly using SSH from Win10 works fine
using the private key,
but from when using PuTTY/WinSCP I get: "Server refused our key."
(all other Linux-VMs use the same authorized_keys and can be accessed
using PuTTY/WinSCP with this private key)

is there something I must change on the side of the Fedora box or
something I have to change in PuTTY/WinSCP?
(I'm using the latest releases of PuTTY/WinSCP)

Many enterprise policies prohibit ssh access for root, but if you aren't
worried about security risks, look in /etc/sshsshd_conf's Authentication
section for "PermitRootLogin":

# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

The alternative is to log in as a regular user and use one of the
elevation methods (sudo, su) to gain root privileges.

--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux