L
L
leroy-bnbd2020-11-21 16:18:53
ubuntu
leroy-bnbd, 2020-11-21 16:18:53

How to give access only to the game console in Ubuntu server (on which the game server is installed)?

How to make it so that the user connects via ssh directly to the management of the game server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rPman, 2020-11-21
@rPman

graphic console? xserver?
Install vnc server on the server (there are several implementations in ubuntu, it seems that the standard vino is configured from the control panel gui, but I haven’t dug in for a long time), then forward the port to ssh, by default 5900 (more precisely, the server number is added to this number), and already locally connect via vnc client (available for all operating systems)

A
Alexander Karabanov, 2020-11-21
@karabanov

To do this, you need to register the corresponding command in ~/.ssh/authorized_keys .
For example, to start the MySQL client, it would look something like this:

command="/usr/bin/mysql",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa AAAABlablabla Username

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question