Build web base KVM console with noVNC and SSH Tunnel
2017-10-02 19:43
2111 查看
noVNC is a HTML5 VNC client that runs well in any modern browser including mobile browsers (iOS and Android).
Many companies, projects and products have integrated noVNC including Ganeti Web Manager, OpenStack,OpenNebula, LibVNCServer, and ThinLinc. See the Projects and Companies wiki page for a more complete list with additional info and links.
But VMs typically located in a private network behind firewall, thus we can build a KVM Hub and forward the port from the Hub which have public visibilities to all the VMs via the private interface.
Step1: Establish Port forward to the garget VM from the KVM Hub.
ssh -N -fR 10.124.116.109:49003:10.113.82.141:3388 sshhub@10.124.116.109
ssh -NfL 10.113.82.141:3388:10.3.40.176:5917 sshhub@10.113.82.141
Step2:
Use the launch script to start a mini-webserver and the WebSockets proxy (websockify). The --vnc option is used to specify the location of a running VNC server:
./utils/launch.sh --vnc 10.124.116.109:49003
Point your browser to the cut-and-paste URL that is output by the launch script. Enter a password if the VNC server has one configured. Hit the Connect button and enjoy!
相关文章推荐
- ionic:Build mobile apps faster with the web technologies you know and love
- Checking a server’s SSH host fingerprint with the web console
- Build Web Server with Apache and Passenger
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- Build Secure Web Services With SOAP Headers and Extensions
- Getting Started with OWIN and Katana(Console 代替iis 制作 web服务的简单方案)
- How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
- Auto-Build, Deploy and Notify with Jenkins
- Building Web Solutions with ASP.NET and ADO.NET
- yii 中文书-agile_web_application_development_with_yii1.1_and_php5
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(5)Task的所有...
- 《Ajax关键技术与典型案例》AJAX: Creating Web Pages with Asynchronous JavaScript and XML (Bruce Perens' Open Source Series) (Paperback)
- How to Add Route to TCP/IP Routing Table With Windows Routing And Remote Access Console or DOS Promp
- 项目管理实践【五】自动编译和发布网站【Using Visual Studio with Source Control System to build and publish website autom
- 项目管理实践【五】自动编译和发布网站【Using Visual Studio with Source Control System to build and publish website autom
- Learning Web Development with Bootstrap and AngularJS.pdf( Bootstrap 和 AngularJS 协同开发电子书免费下载)
- HTTP POSTs and HTTP GETs with WebClient
- Updating and Publishing a NuGet Package - Plus making NuGet packages smarter and avoiding source edits with WebActivator
- Agile Web Application Development with Yii 1.1 and PHP5 读后总结(4)散乱的......
- Gradle学习之书籍《Build and Test with Gradle》之chapter2:Gradle task任务