Answer the question
In order to leave comments, you need to log in
How to implement authorization forwarding in openvz container via ssh?
The task is to forward authorization from the main server to the openVZ container.
I found this commandssh -A [email protected] ssh [email protected]
. I have a container with the address: 192.168.1.123
Task:
If a user logs in via ssh to the main server, for example, under the login checkers, we must transfer him to the container 192.168.1.123 I
execute the command:ssh -A [email protected] ssh [email protected]
ssh: connect to host 8.8.8.8 port 22: Connection timed out
ssh -A [email protected][ip сервера] ssh [email protected]
[email protected]'s password:
Answer the question
In order to leave comments, you need to log in
Forward the port and go like this:
ssh [email protected]_ip_server -p 222
In the rinetd config write the following:
allow *.*.*.*
external_ip_server 222 ip_virtualka 22
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question