Phone Home Server Main Image – Setup – as root
Enable port 22 on VM firewall
edit /etc/ssh/sshd_config
RSA Authentication
GSSAPI Authentication NO
X11 Forwarding NO
service sshd start
chkconfig sshd on
Phone Home Server
Clone/replicate from main image and get IP address- either static or DHCP assign
RVA – Setup – as root
yum install tigervnc-server
cp /lib/systemd/system/vncserver@.service /lib/systemd/system/vncserver@:1.service
edit /lib/systemd/system/vncserver@:1.service
replace <USER> with vauser
add “-localhost” after the %i in the start line
systemctl –system daemon-reload
systemctl enable vncserver@:1.service
system start vncserver@:1.service
Firewall Setup
Setup port forward to <home IP> <RVA port number> to individual Phone Home Server IP:22
RVA – Setup – as user
vncpasswd
ssh-keygen -b 4048
ssh-copy-id “External Phone Home IP” or “Internal IP during initial setup”
RVA – Usage – auto script and shortcut on desktop
ssh -R 2001:localhost:5901 -p <portnumber> <home IP>
[anything here on home IP] [goes here from RVA]
Phone Home Server – usage – create shortcut on desktop
vncserver localhost:2001