Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsock: socat service for remote console #13

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

matttbe
Copy link
Collaborator

@matttbe matttbe commented Nov 29, 2024

When

virtme.vsockexec=`<cmd>`

is set, socat is started in the background, listening to a VSock connection on the port 1024: once connected, a pty console is started with the given <cmd>, e.g. bash -i.

This allows a simple remote control.

cc: @krisman

Link: arighi/virtme-ng#151

When virtme.vsockexec=`<cmd>` is set, socat is started in the
background, listening to a VSock connection on the port 1024: once
connected, a pty console is started with the given <cmd>, e.g. 'bash
-i'.

This allows a simple remote control.

Link: arighi/virtme-ng#151
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Copy link
Owner

@arighi arighi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@arighi arighi merged commit c43ba1c into arighi:main Nov 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants