A
A
anton13ms2020-01-17 10:24:14
linux
anton13ms, 2020-01-17 10:24:14

Does it make sense, in Linux, from a security point of view, to log into a remote machine via SSH through a user, and then work as an admin via su?

Does it make sense, in Linux, from a security point of view, to log into a remote machine via SSH through a user, and then work as an admin via su ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
iddqda, 2020-01-17
@anton13ms

Certainly.
All are breaking down on the root. and if you do not include the ability to log in as root in sshd (it has been disabled by default for a long time), then brute force is not terrible.
And in order to log in under any other login, the attacker needs to pick up not only the password, but also this login. And even if successful, the attacker enters the system as an unprivileged user.

A
Alexey Dmitriev, 2020-01-17
@SignFinder

Of course have. This is an additional line of defense.

X
xmoonlight, 2020-01-17
@xmoonlight

Port-knocking is the best port protection.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question