Category: Theory | |||
---|---|---|---|
SubjectRemote Access in Theoretical Physics | |||
ContentThere are several ways of accessing your system and data remotely on the Theoretical Physics systems. How to access Theoretical Physics computers via SSHSystems within the Physics network may be accessed via the ssh proxy server ssh.physics.ox.ac.uk On Mac or Linux, edit the file ~/.ssh/config and add the lines Host * If you are running code then we strongly recommend that you use screen. This will allow you to disconnect and reconnect from both the remote system and the ssh gateway without stopping your code from running. Use ctrl-a ? for help, ctrl-a d to detach, "screen -x" to reattach, "screen" from within screen to create another screen, ctrl-a N where N = 0...9 to switch screens, ctrl-a F to resize to current terminal. For a quick reattach after a dropped internet link, use ssh -t tplxdt123 screen -x Please Note: The first time that you ssh into either SSH gateway you will receive an error that your home directory isn't available. Ignore this message, the gateway home directory is mounted in /home/username. The host key fingerprint is as below. Host key fingerprint is SHA256:B3rVd78/alhgZUs3yt6gqPDLkhRFTqKtZhvvX1Y9gGk +--[ED25519 256]--+ | ..o | | o +. o. + o | | . ....E..* = o| | .. ..o oo* ..| | = o S +.+oo .| | o +o . o.. o...| | ...+ .o o . | | .o.oo . . ..| | .o+. ... o| +----[SHA256]-----+ (the ECDSA key is as below, which you may have previously stored in your ~/.ssh/known_hosts file) +---[ECDSA 256]---+ | . .+*| | . o.+@| | o ..X| | oo=o| | S o=+o| | . + +.+| | . .*. o| | . o+o+E.| | ..oo+B=BO| +----[SHA256]-----+ Note that this page may be accessed via SSL. You can then ssh to your system with e.g. to run graphical applications, use ssh tplxdt123 -X This is quite slow, however. If you need faster access, use x2goclient with bastion.physics.ox.ac.uk as an ssh proxy (tick the box to enable that), and the same username and password boxes ticked. Set the session type to XFCE. Troubleshooting sshIf the second login hangs, try ssh tplxdt123 -oPubkeyAuthentication=no If you log in but cannot see your files, try Virtual Private Network (VPN)A Virtual Private Network (VPN) is a way of extending our internal network out to systems connected on the internet. Once connected via a VPN, a remote system appears to be connected locally to our network thereby getting all the facilities available to local users and avoiding blocks placed in intervening firewalls. All data passed via a VPN is encrypted. Instructions for setting up VPN can be found here. Once you have established a VPN connection then you can ssh directly into your desktop system. Virtual Network Computing to Apple desktopsVNC allows you to take control of the Graphical interface of your Apple desktop remotely. Instructions on how to setup VNC can be found here Linux Remote desktopThe Linux interactive machines can be accessed via x2go (Download) TroubleshootingIf you see the message "QSocketNotifier: Can only be used with threads started with QThread" start x2go with | |||
Documents | |||
File | Heading | Date | |
Drupal page URL | 06-12-2024 10:34 | ||
Writer: Russell Jones Created on 13-12-2011 05:12 Last update on 27-02-2025 08:19 | 219 views This item is part of the Physics IT knowledgebase |