8
8
88qqqq2021-08-15 06:04:38
SSH
88qqqq, 2021-08-15 06:04:38

How to create a user and give him one right to screen - x?

Is it possible to create a user with one right to use SCREEN - X name, or when entering the VDS console, it immediately appeared in the screen name (VDS)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-08-15
@karabanov

Immediately after login, you can run any command as a shell. The settings are specified in ~/.ssh/authorized_keys
For example, you can start the MySQL client like this:

command="/usr/bin/mysql" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGQmgLTj7kSg85GZ/vXSjwmF5m1xhAmeeURkIlawNMbJ [email protected]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question