How to Encrypt VNC Traffic with Putty Rumi, December 9, 2015 By default, VNC is not secure protocol.VNC uses encryption during initial connection and login (passwords are not sent in plain-text). Once, we connected then all the VNC data is unencrypted and hacker could sniff our VNC session. It is better (safer) to start VNC server only on 127.0.0.1(localhost) and tunnel it over secure SSH tunnel (For this,there are options in Putty). In this example, I am using CentOS 6.2 as VNC server and VNC Viewer & PuTTY as VNC client on Windows 7. On CentOS, edit /etc/sysconfig/vncservers file: sudo nano /etc/sysconfig/vncservers Add the option “-localhost“: VNCSERVERS="1:arbab 2:ali" VNCSERVERARGS[1]="-geometry 1024x600 -localhost" VNCSERVERARGS[2]="-geometry 1024x600 -localhost" Restart the VNC Service: sudo service vncserver restart Below steps illustrate how to connect to VNC Server through PuTTY(SSH) from Windows Machine. Run PuTTY,enter the IP address or hostname of the VNC Server: On the left-hand panel, Go to Connection -> SSH -> Tunnels: Source Port:590x(Where x is a value that we set in vncservers file,like 1 for arbab) Destination:localhost:590x(Same x value that we used above in source port) Click Open button in order to connect to the Server via SSH: Login to the CentOS (VNC Server) with username and password: Upon successful connection to VNC Server, we’ll find port 5901 is in listening mode on localhost: netstat -a Run VNC Viewer and enter the localhost:1(:1 is for arbab user, that we defined in vncservers file): Enter the password, in order to connect to the VNC Server: Now, we are connected to remote VNC Server through ssh tunnel: Hope this will help you! Src: https://rbgeek.wordpress.com/2012/06/27/how-to-encrypt-vnc-traffic-with-putty/ Related Configurations (Linux) CentOSPuttyVNC
Icininga on SSL June 25, 2012 This is intended to be an introduction for implementation of stronger authentication and server security focused around the CGI web interface. There are many ways to enhance the security of your monitoring server and Icinga environment. This should not be taken as the end all approach to security…. Read More
Install wkhtmltopdf 0.12.5 on Centos 7 April 2, 2021April 2, 2021 Install Dependencies yum install fontconfig libXext freetype libpng zlib libjpeg-turbo libpng libjpeg openssl icu libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi Install wkhtmltopdf sudo yum install -y https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm Test wkhtmltopdf http://www.google.com google.pdf Src:: https://otodiginet.com/software/tools/how-to-install-and-using-wkhtmltopdf-on-centos-7/ Related Read More
How to reset MySQL Root Password in Linux June 6, 2014 First, Let’s stop the mysql service, In Red Hat’s family (Red Hat Enterprise, Fedora, CentOS) the Mysql Daemon is called ‘mysqld‘, but in Debianlike Ubuntu based distributions and OpenSuse its called ‘mysql‘. I’ll be using the debian based naming sudo service mysql stop OR sudo /etc/init.d/mysql stop Now, we’ll… Read More