L
L
lekadina2017-06-04 14:04:28
SSH
lekadina, 2017-06-04 14:04:28

How to set up ssh root login?

The correct security policy reads:
1. Deny root login
2. Login not by passwords but by keys
If you do this in the ssh configuration, then after logging in inside the system we enter the root password already in sudo or su.
I want to log in as root by key.
How can I do it inside by logging in from outside via ssh without root?
Needed to automate Ansible, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2017-06-04
@AVKor

ssh to localhost

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question