![]() More information about SSH connections can be found in the article RemoteAccess: SSH -remote_terminal_session.Įstablish an SSH tunnel from the local port 590L on current_host to login.ee.ethz.ch for the VNC server port 590R with your eth_username. The host login.ee.ethz.ch is the entry point for an SSH connection. Now you are ready to connect the VPN client on current_host to the ETH network and continue with the following steps.Īlternative method: Connect through an SSH tunnel Initiate a VPN connection to internal_host If you have access to additional realms, a.k.a virtual private Zones (VPZ), you can list them by visiting. To log in here you have to use your eth_username with an added realm in combination with your eth_network_password, as described on. Go to and follow the instructions provided there to download, install and configure the Cisco An圜onnect VPN client provided by central IT services. Install the VPN client on your current host If you're unsure about your eth_network_password, login on with your regular eth_password and change your former eth_network_password to a new password. Preferred method: Connect through a VPN connection If current_host is alreay inside the ETH network, skip to Start a VNC server on internal_host. Both methods are explained in the following steps. Connecting through VPN is the preferred method as it uses a dedicated infrastructure. If current_host resides outside of the ETH network, you need to connect to it thorugh either a VPN connection or an SSH tunnel. display number depending on how many VNC instances you are running) * To kill a 'lost' (orphaned) VNC session do: vncserver -kill :1 (where ':1' is your session resp. * To see what VNC sessions are currently running on your ETH machine, type on a terminal: $ ps -ef | grep vnc It will be recreated after you execute a 'vncserver' command next time. * All VNC personal settings are stored in '~/.vnc' directory. * Every start of a new vncserver instance increases the (= ) by one. * If you close the VNC Window by clicking on X (above to the right), the session keeps running and you can login again by using the same * In order to kill your VNC session you have to make a standard 'Logout' within your VNC operating system. On your computer at home, connect to the VNC Session via vncviewer app: $ ssh Start VNC server on in a konsole, just like:Ĥ. Establish a connection to ETH network with VPN If you wanna get into more deeply, read next paragraphs.ġ. If you wanna have fast access by using VNC, do this. R: This variable is used as a placeholder for the remote port on internal_host where a VNC server will be listening after a successfull startup. L: This variable is used as a placeholder for the local port on current_host where VNC connections will be made to. If you're using a shared student PC, check it's availability at login.Įth_username: This is the username you use to log in anywhere on an ETH provided IT service.Įth_password: This is your password used in combination with your eth_username which lets you access ETH provided IT services, except for network authentications (see below).Įth_network_password: This is your password also used in combination with your eth_username which is used for authentication to network services like Wifi and VPN. Students can use an arbitrary shared student room PC like tardis-d12. Internal_host: This is the fully qualified DNS name of the target host you intend to connect to, as shown by the command hostname -f on the target host. It is used to tunnel SSH connections in case you choose not to use VPN. Gateway_host: This is the entrance gateway to the ETH network to bypass the firewall restrictions for connections from the outside, by the name of login.ee.ethz.ch. ![]() It will run the software to view a remote Linux desktop, the VNC viewer. your office computer or home computer the host you are currently working on. ![]() Throughout his article, the following placeholders are used:Ĭurrent_host: This is a remote host in- or outside the ETH network, i.e. The following article explains how to access the desktop of a Linux host residing inside the ETH network from another host on the in- or outside by using Virtual Network Computing (VNC) 1. ![]() Remote access to a Linux host's desktop with VNC Connect your VNC viewer to the VNC server on internal_host.Use a VNC viewer to view and control the desktop on internal_host.Terminating a running VNC server process.SSH connection on Windows 10 with OpenSSH.Initiate a SSH connection to internal_host.Alternative method: Connect through an SSH tunnel.Initiate a VPN connection to internal_host.Install the VPN client on your current host.Preferred method: Connect through a VPN connection.Remote access to a Linux host's desktop with VNC.
0 Comments
Leave a Reply. |