Answer the question
In order to leave comments, you need to log in
How to limit ssh session environment?
hello
, there is a linux server with a white ip address. ssh server is running on it. It is only used for ssh tunnels.
Tell me how can I restrict one user in the ssh session so that only ssh tunnels work for him and nothing else.
Answer the question
In order to leave comments, you need to log in
the answer was given here
https://unixforum.org/index.php?showtopic=142362
You can assign a shell to the user in which you can configure which commands the user can execute
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question