Changes between Version 37 and Version 38 of HowTo/LoginToNodes
- Timestamp:
- 08/17/12 00:42:43 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/LoginToNodes
v37 v38 174 174 * '''Mesoscale hosts in some campuses''': If you are using nodes in [wiki:TangoGeni Mesoscale] that are behind a firewall, you can use ops.pgeni.gpolab.bbn.com as a "stepping stone". You can login to ops.pgeni.gpolab.bbn.com using the your pgeni credentials file as your private key. 175 175 Once you have determined with host you will use as your stepping stone (pub_host from now on) to get to the host behind the firewall(priv_host from now on), you have several options: 176 176 1. '''Recommended''' Use the `-A` ssh option to enable forwarding of the authentication agent. So try : 177 177 {{{ 178 178 ssh -A <username>@<pub_host> … … 182 182 user@<pub_host>$> ssh <username>@<priva_host> 183 183 }}} 184 184 2. If the above option does not work then you can try using [https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding ssh port forwarding] to get to your host. The main idea is that you will forward a local port on the client to go through the connection to <pub_host> and from there to ssh to <priv_host>. If you want to do this in command line then first login to the public host: 185 185 {{{ 186 186 ssh -L <local port>:<priv_host>:22 <username>@<pub_host>