Project

General

Profile

Actions

action #31417

closed

Add support for SSH from Host to VM

Added by jlausuch almost 7 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2018-02-06
Due date:
% Done:

0%

Estimated time:

Description

The VMs that OpenQA launches have an internal IP that is not reachable from the Host. Therefore, there is no way to SSH into them, only VNC is available.

The problem of VNC is that it limits the user comfort when debugging. SSH allows much better experience as you can use your own console and use SCP, bidireccional copy/paste, mouse scrolling, etc.

However, it is possible to SSH from the VM to the Host, therefore Reverse SSH can be used, but it is just a workaround. Having ssh supported directly from the Host would be more convenient.

I think this could be achieved by changing the qemu command line to launch the VM adding a parameter -net user,hostfwd=tcp::7777-:8001
Not sure if this is the right place, but it could help to look at this line: https://github.com/os-autoinst/os-autoinst/blob/master/backend/qemu.pm#L581


Related issues 1 (1 open0 closed)

Related to openQA Project (public) - action #55187: Replace live viewer with noVNCNew2019-08-07

Actions
Actions

Also available in: Atom PDF