Please note that all the SIEpedia's articles address specific issues or questions raised by IAC users, so they do not attempt to be rigorous or exhaustive, and may or may not be useful or applicable in different or more general contexts.
This page is now obsolete! If you connect to the IAC network using a VPN, please read Work at Home with VPN which explains how to do the VPN connection from the Linux command line, easy and fast!
Continuation of our previous tutorial Work at Home.
For those who were at the talk, but could not write down all the details, I put here the configuration file for the tools that I mentioned in the talk.
Host iac-work HostName vaso.ll.iac.es User angelv #Port 22 (ssh,scp) LocalForward 10000 vaso:22 #VNC (5900 + servidor) LocalForward 5901 localhost:5901
angelv@vaso:~$ vncserver -geometry 1024x768 New 'vaso:1 (angelv)' desktop is vaso:1 Starting applications specified in /home/angelv/.vnc/xstartup Log file is /home/angelv/.vnc/vaso:1.log angelv@vaso:~$
For this, you don't need any ssh tunnels. At you workstation, just run screen (or byobu if you have it installed). The first time this will create the server and will connect to it. Use it as a standard terminal, with the exception that you can kill it any time you want. From another machine you can reattach to it by just connecting to the workstation where you started the screen server, and by running screen -D -R
If using a SFTP client (like FileZilla), and given that you have created the tunnels as above. You can create a new connection to your workstation files by configuring a new site, where the name of the host is localhost and the port is 10000.
Similar to the configuration of FileZilla above, but more convenient. You can create an empty directory named IAC in your remote machine, and mount the home directory of your IAC workstation with the command:
sshfs angelv@localhost:/home/angelv/ /home/angelv/IAC -p 10000
This will allow you to work with all your workstations files as if they were local to your remote machine.