Comments (7)
That's exactly what is done but address must be set to 0.0.0.0 as 127.0.0.1 won't allow remote connections:
https://github.com/cutelyst/Virtlyst/blob/master/src/ws.cpp#L47
from virtlyst.
seems it doesnt work in my case,
CUTELYST_VERSION=v2.6.0
VIRTLYST_VERSION=v1.2.0
in logs i can see:
6:8 virtlyst.ws[debug] Connecting TCP socket to "0.0.0.0" 5900 6:8 virtlyst.ws[warning] Console Proxy error: QAbstractSocket::ConnectionRefusedError "Connection refused"
in XML of a VM I had set:
<graphics listen="0.0.0.0" autoport="yes" port="5900" passwd="TryToGuess" type="spice"> <listen address="0.0.0.0" type="address"/> <image compression="off"/> </graphics>
and on a HOST system, port is open and listening
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 7097/qemu-system-x86....
Virtlyst is using QEMU+SSH to a host 192.168.4.10
from virtlyst.
This is fixed in git master, I haven't tagget a Virtlyst release after that yet
from virtlyst.
Is it possible to use ssh to redirect if 127.0.01 is used? I'm using localhost and virt-manager can do this with ssh without any problems. Maybe libvirt already supports it?
from virtlyst.
Both use libvirt under the hood so likely possible, the main issue with SSH is if it want's to prompt for password, you better use ssh-keys then
from virtlyst.
Both use libvirt under the hood so likely possible, the main issue with SSH is if it want's to prompt for password, you better use ssh-keys then
Yeah, I already added ssh key and it works perfect. Just the console is not working because I like to use localhost and authorization over ssh.
Do you have a hint for me where libvirt is called in Virtlyst? So I can look into it.
from virtlyst.
hmm don't know exactly what you want, but likely https://github.com/cutelyst/Virtlyst/blob/master/src/lib/connection.cpp
from virtlyst.
Related Issues (20)
- Skip authentication for use with reverse proxy HOT 3
- Wiki Change process
- Wiki enhancements, added Build instructions page
- Build a Debian package HOT 11
- [Request] Static linked binary to run on CentOS/RHEL HOT 1
- connect github to dockerhub for automated builds and pulls HOT 1
- https redirects back to http HOT 3
- Consoles wont connect when using HTTPS and reverse proxy HOT 2
- Console via squid proxy HOT 3
- Upload ISO HOT 1
- Document proper reverse proxy setup HOT 7
- QtConcurrent HOT 1
- guestfish / password reset support
- Users menu do not works HOT 5
- Screenshot broken HOT 1
- Dockerfile no longer works HOT 15
- csrf HOT 2
- Build error HOT 1
- SSH connection: console closing & RemoteHostClosedError HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtlyst.