Changes between Version 8 and Version 9 of TransparentMultiHopSSHNewLobby
- Timestamp:
- 2021-08-03T22:07:49+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TransparentMultiHopSSHNewLobby
v8 v9 6 6 7 7 Most of our servers can only be accessed using a jumphost (a.k.a. proxy) server. This requires port 22 to be open on all machines between your computer and our jumphost server. [[BR]] 8 The existing {{{lobby.hpc.rug.nl}}} will shortly be replaced by a new machine with the same name. This new machine currently has no DNS entry yet; the example config below is for the new {{{lobby}}} jumphost and is based on its IP address only. 8 The jumphost for the Calculon cluster is: {{{lobby.hpc.rug.nl}}}. 9 It's ED25519 key fingerprint is: {{{SHA256:YBt5nyd2ragxOXmIoQ+2kkoCjBsbdFWbdpN2PfqxKCs}}} 9 10 10 Note that: 11 === Update 2021-08-04 === 12 * The old {{{lobby.hpc.rug.nl}}} jumphost was replaced with a new one with the same name. 13 * You can skip this update section if you never used the old jumphost. 14 * It may take some time for the change to propagate to all corners of the internet Domain Name System (DNS): if the name {{{lobby.hpc.rug.nl}}} resolves to IP address 195.169.22.135, you are connecting to the new {{{lobby.hpc.rug.nl}}} 11 15 * Previously there was also a jumphost named {{{foyer.hpc.rug.nl}}}, but this one has been deprecated. 12 16 * Furthermore the old example config listed many other machines like {{{flexo}}} and {{{bender}}}: Please remove all entries for machines that could be accessed via the old ''lobby'' or ''foyer'' jumphosts as well as the entries for these jumphosts themselves from your {{{~/.ssh/config}}} file: … … 15 19 Include conf.d/* 16 20 }}} 17 * You should keep lines for machines that are accessed via our jumphost. E.g. lines for the {{{cher-ami}}} data staging server, for the RUG {{{peregrine}}} cluster and for machines from other sites/services. 18 * Additional lines that are required to access our machines are added to a separate {{{~/.ssh/conf.d/lobby}}} file now. 21 * You should keep lines for machines that are not accessed via our jumphost. E.g. lines for the {{{cher-ami}}} data staging server, for the RUG {{{peregrine}}} cluster or for machines from other sites/services. 22 * Additional lines that are required to access UMCG Research HPC machines are added to separate config files inside the {{{~/.ssh/conf.d/}}} directory. E.g. a {{{~/.ssh/conf.d/}}} file for machines accessed via {{{lobby.hpc.rug.nl}}}. 23 * If you previously used the old '''lobby''', you may get a warning that the host key (fingerprint) has changed and you not be able to login until you remove the old host key from your list of **''known hosts''**. 19 24 20 25 == Users on Linux / Unix / Mac OS X == … … 66 71 # which may be confusing and won't work anyway. 67 72 # 68 #IdentityFile "~/.ssh/id_rsa"73 IdentityFile "~/.ssh/id_rsa" 69 74 PasswordAuthentication No 70 75 # … … 92 97 # Expand short jumphost names to FQDN or IP address. 93 98 # 94 Host lobby 95 HostName 195.169.22.13599 Host lobby !*.hpc.rug.nl 100 HostName %h.hpc.rug.nl 96 101 # 97 102 # Universal jumphost settings for triple-hop SSH. … … 103 108 # 104 109 Host lobby+* 105 ProxyCommand ssh -x -q $(echo "${JUMPHOST_USER:-%r}")@$(echo %h | sed 's/+[^+]*$//') -W $(echo %h | sed 's/^[^+]*+//'):%p110 ProxyCommand ssh -x -q $(echo "${JUMPHOST_USER:-%r}")@$(echo %h | sed 's/+[^+]*$//').hpc.rug.nl -W $(echo %h | sed 's/^[^+]*+//'):%p 106 111 # 107 112 # Sometimes port 22 for the SSH protocol is blocked by firewalls; in that case you can try to use SSH on port 443 as fall-back. … … 110 115 # 111 116 Host lobby443+* 112 ProxyCommand ssh -x -q $(echo "${JUMPHOST_USER:-%r}")@$(echo %h | sed 's/443+[^+]*$//') -W $(echo %h | sed 's/^[^+]*+//'):%p -p 443117 ProxyCommand ssh -x -q $(echo "${JUMPHOST_USER:-%r}")@$(echo %h | sed 's/443+[^+]*$//').hpc.rug.nl -W $(echo %h | sed 's/^[^+]*+//'):%p -p 443 113 118 }}} 114 Replace all occurences of'''youraccount''' with the accountname you received from the UMCG HPC helpdesk.[[BR]][[BR]]119 Replace '''youraccount''' with the accountname you received from the UMCG HPC helpdesk.[[BR]][[BR]] 115 120 If you are **not** on a Mac or on a very old one you may have to comment the {{{# Generic stuff: only for MacOS clients}}} section at the top of the example **''~/.ssh/conf.d/lobby''**[[BR]][[BR]] 116 121 * You can now for example connect to the User Interface of the Calculon cluster named ''calculon'' with the account as specified in the ''User'' directive of your ''~/.ssh/conf.d/lobby'' file via the ''lobby'' jumphost using the alias ''lobby+calculon''. Type the following command in a terminal: