On Sat, 20 Nov 2021 at 08:16, Walter H. via users <
users@lists.fedoraproject.org> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to