User Tools

Site Tools


generic:laptop_connectivity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
generic:laptop_connectivity [2017/01/27 09:01] – [Connecting to Windows systems] jansengeneric:laptop_connectivity [2018/07/24 07:59] (current) – [Disk access: SSHFS / fuse-ssh] jansen
Line 7: Line 7:
  
 ==== SSH ==== ==== SSH ====
 +SSH stands for Secure Shell, and is a standard way to get secure access to a remote machine. 
 +See [[:SSH]] for further details.
 ==== VNC ==== ==== VNC ====
 +Virtual Network Computing (VNC) is a remote display system which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. It is present on all out Linux desktops and some of the compute nodes and servers. See [[:VNC]] for details.
  
 +[[linux:X2GO]] is an extended type of VNC, which has built-in support for ssh tunnels and can also forward more than just the display (audio, printing and file access). [[linux:X2GO]] is installed on the Linux desktops.
 ===== Connecting to Windows systems ===== ===== Connecting to Windows systems =====
 It is possible to connect to windows computers (either your own windows desktop, or the central terminal server ''texel'') through the remote desktop protocol (rdp). However, rdp connections should be tunneled through ssh for security, so some additional steps are needed. It is possible to connect to windows computers (either your own windows desktop, or the central terminal server ''texel'') through the remote desktop protocol (rdp). However, rdp connections should be tunneled through ssh for security, so some additional steps are needed.
Line 19: Line 22:
 Our printers are only accessible from the wired network, and from the UL-STRW-LION wireless network. See [[laptopprint]] for details. Our printers are only accessible from the wired network, and from the UL-STRW-LION wireless network. See [[laptopprint]] for details.
  
-===== Disk access =====+===== Disk access: SSHFS / fuse-ssh =====
 It is in general not possible to access the disks of our Linux and Windows desktops and workstations directly. The closest one can get to mounting a desktop disk, is using the ''sshfs'' tools (also known as ''fuse-ssh''), available for Linux, Mac OS X and Windows. These tools create a filesystem access over ssh, so it is encrypted, and it uses your own user credentials to guarantee that no one else can access files this way. It is in general not possible to access the disks of our Linux and Windows desktops and workstations directly. The closest one can get to mounting a desktop disk, is using the ''sshfs'' tools (also known as ''fuse-ssh''), available for Linux, Mac OS X and Windows. These tools create a filesystem access over ssh, so it is encrypted, and it uses your own user credentials to guarantee that no one else can access files this way.
 +
 See e.g. [[https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh]] See e.g. [[https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh]]
 +
 +Short example (assuming you have installed sshfs on your laptop already):
 +
 +  mkdir $HOME/lorentz
 +  sshfs -o idmap=user username@ssh.lorentz.leidenuniv.nl:/home/username $HOME/lorentz
 +  
 +This mounts your institute home disk on a subdirectory under your local home on the laptop. Once mounted, you can treat it like any other disk, and copy files to and from it. Of course the same can be done with data disks in stead of home. The ''idmap=user'' option is to make sure that your files show up as yours, when user ids don't match.
 +
 +To unmount:
 +  fusermount -u $HOME/lorentz
 +(normally, umount should work as well but there can be permission issues, fusermount always works)
generic/laptop_connectivity.1485507672.txt.gz · Last modified: by jansen