Blame
Date:
Wed May 25 04:00:23 2022
UTC
Message:
Daily backup
02
2021-12-17
agent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Raspbian Chromium/78.0.3904.108 Chrome/78.0.3904.108 Safari/537.36
11
2021-12-17
text='''VNC using an SSH Tunnel'''%0a%0aTo start the VNC server type:%0a%0a[@%0a$ vncserver%0a%0auser$ vncserver%0axauth: file /home/user/.Xauthority does not exist%0a%0aNew 'example.com:1 (user)' desktop is example.com:1%0a%0aCreating default startup script /home/user/.vnc/xstartup%0aCreating default config /home/user/.vnc/config%0aStarting applications specified in /home/user/.vnc/xstartup%0aLog file is /home/user/.vnc/example.com:1.log%0a@]%0a%0a%0aYour VNC port number will be 5900+%3cnumber_after_the_colon>.[[%3c%3c]]%0aIn this case your port would be 5901.%0a%0aTo create the SSH Tunnel type:[[%3c%3c]]%0a%0a$ ssh -L %3clocal_port>:localhost:%3cremote_port> -f -N -C user@example.com%0a%0aIn this case it would be:[[%3c%3c]]%0a%0a$ ssh -L %3cport_of_your_choosing>:localhost:5901 -f -N -C user@example.com%0a%0a%0a%0a'''Using PuTTY'''%0a%0aFirst start a new SSH connection to your server host and log in.%0a%0aAttach:putty_change_settings.png%0a%0aThen, left click on the program icon in the top bar -> Change Settings -> Connection -> SSH -> Tunnels.%0a%0aAttach:putty_ssh_tunnels.png%0a%0aSource port: %3clocal_port>[[%3c%3c]]%0aDestination: localhost:%3cremote_port> (localhost here represents the remote host)[[%3c%3c]]%0aKeep the Local and Auto radio buttons selected and click on Add.%0a%0aConnect to localhost:%3clocal_port> using a VNC Client.%0a%0aIt may still show the warning saying "Uncrypted Connection" in the VNC Client when connecting to localhost:%3cport> since it isn't aware of the SSH Tunnel.
14
2021-12-17
diff:1634990210:1634989579:=1,2c1,2%0a%3c '''VNC using an SSH Tunnel'''%0a%3c %0a---%0a> '''VNC using a SSH Tunnel'''%0a> %0a39c39%0a%3c Then, left click on the program icon in the top bar -> Change Settings -> Connection -> SSH -> Tunnels.%0a---%0a> Then, left click on the program icon in the top bar -> Change Settings -> Connection -> SSH -> Tunnels%0a
18
2021-12-17
diff:1634989579:1634987655:=37,38d36%0a%3c Attach:putty_change_settings.png%0a%3c %0a41,42d38%0a%3c Attach:putty_ssh_tunnels.png%0a%3c %0a45c41%0a%3c Keep the Local and Auto radio buttons selected and click on Add.%0a---%0a> Keep the Local and Auto radio buttons selected.%0a
21
2021-12-17
diff:1634987655:1634987655:=1,45d0%0a%3c '''VNC using a SSH Tunnel'''%0a%3c %0a%3c To start the VNC server type:%0a%3c %0a%3c [@%0a%3c $ vncserver%0a%3c %0a%3c user$ vncserver%0a%3c xauth: file /home/user/.Xauthority does not exist%0a%3c %0a%3c New 'example.com:1 (user)' desktop is example.com:1%0a%3c %0a%3c Creating default startup script /home/user/.vnc/xstartup%0a%3c Creating default config /home/user/.vnc/config%0a%3c Starting applications specified in /home/user/.vnc/xstartup%0a%3c Log file is /home/user/.vnc/example.com:1.log%0a%3c @]%0a%3c %0a%3c %0a%3c Your VNC port number will be 5900+%3cnumber_after_the_colon>.[[%3c%3c]]%0a%3c In this case your port would be 5901.%0a%3c %0a%3c To create the SSH Tunnel type:[[%3c%3c]]%0a%3c %0a%3c $ ssh -L %3clocal_port>:localhost:%3cremote_port> -f -N -C user@example.com%0a%3c %0a%3c In this case it would be:[[%3c%3c]]%0a%3c %0a%3c $ ssh -L %3cport_of_your_choosing>:localhost:5901 -f -N -C user@example.com%0a%3c %0a%3c %0a%3c %0a%3c '''Using PuTTY'''%0a%3c %0a%3c First start a new SSH connection to your server host and log in.%0a%3c %0a%3c Then, left click on the program icon in the top bar -> Change Settings -> Connection -> SSH -> Tunnels%0a%3c %0a%3c Source port: %3clocal_port>[[%3c%3c]]%0a%3c Destination: localhost:%3cremote_port> (localhost here represents the remote host)[[%3c%3c]]%0a%3c Keep the Local and Auto radio buttons selected.%0a%3c %0a%3c Connect to localhost:%3clocal_port> using a VNC Client.%0a%3c %0a%3c It may still show the warning saying "Uncrypted Connection" in the VNC Client when connecting to localhost:%3cport> since it isn't aware of the SSH Tunnel.%0a\ No newline at end of file%0a