PuTTY

All posts tagged PuTTY

When connecting over ssh to a server with Putty, we can easily export the DISPLAY and run any X-Window application after enable the X11 in the PuTTY configuration. However, if you change to another account  any X-Window application will fail as we have to share the MIT-MAGIC Cookies from the first user connected, here is how we can do it. user1@server3$ echo $DISPLAY localhost:10.0 user1@server3$ xauth list server3/unix:10 MIT-MAGIC-COOKIE-1 6586998224e70480f72d195f55191dc4 server3/unix:11 Read more...
One of the most problematic port redirections are those redirecting UDP ports. Based on SSH protocol, there is no way to redirect UDP ports over SSH tunnels. Imagine you are behind a FW with very restrictive rules and your connection must use a Proxy witn no name resolutions outside of the intranet, there are no too much ways to access to an external DNS and surf internet, but there are some... Here it is explained a way how to redirect UDP ports with the help of socat (NetCat+++), and a SSH Read more...