Skip to main content

Use the SSH Gateway - Knowledgebase / Technical Systems - OIT Service Center

Use the SSH Gateway

Authors list

The Brown SSH Gateway allows SSH command line access to other SSH hosts within Brown. This gateway is designed to provide command line access in lieu of the Brown VPN solution that does not support the Linux command line.

Interactive

# ssh sshgw.brown.edu

This will log you into the gateway, validate your login with DUO 2-factor, then ask you for a Fully Qualified Domain Name. An example of a FQDN would be: host1.engin.brown.edu

You will then authenticate to the destination server based on it’s configuration.

 

Direct

# ssh -t sshgw.brown.edu -- -d host1.engin.brown.edu

This will log you into the gateway and attempt to pass you to the destination system. DUO 2-factor will auto-push to your device. Once you have completed 2-factor you will be forwarded to the destination system to login. 

Options explained:

  • -t : SSH may need to force pseudo-terminal allocation when using Direct mode.
  • --: End of SSH options
  • -d: Destination option. Used by the gateway script 

 

Command

# ssh -t sshgw.brown.edu -- -d host1.engin.brown.edu -c “ls \-l”

-c: Command option. Following string is a command to be run on the destination server.

“ls \-l”: Example command. In quotes with “-” options escaped by forward slash.

 

Helpful Unhelpful

78 of 138 people found this page helpful

Send us a note about this article

Contact the OIT Service Center

Phone: 401-863-4357

Email: help@brown.edu

Location: Page Robinson Hall - 69 Brown St., Room 510

See our availability

https://it.brown.edu/get-help

Walk-ins Welcome! Appointments recommended.

For reserved service for a technical consult or a loaner check-out, you can schedule an appointment here.