You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Fundraising/tech/ssh config"

From Wikitech-static
Jump to navigation Jump to search
imported>Greg Grossmeier
m (Reverted edits by Test9999 (talk) to last revision by Cdentinger)
imported>Cdentinger
(add mkdir and touch, hope this works on Mac OS!)
Line 1: Line 1:
In order to access frack hosts (such as frdev1001) you must have a proper ssh config.  To edit it in OSX, open a terminal and type:
In order to access frack hosts (such as frdev1001) you must have a proper ssh config.  To edit it in OSX, open a terminal and type:
mkdir -p ~/.ssh
touch ~/.ssh/config
  open -a TextEdit ~/.ssh/config
  open -a TextEdit ~/.ssh/config
The file should look more or less like this:
The file should look more or less like this:

Revision as of 20:10, 19 October 2018

In order to access frack hosts (such as frdev1001) you must have a proper ssh config. To edit it in OSX, open a terminal and type:

mkdir -p ~/.ssh
touch ~/.ssh/config
open -a TextEdit ~/.ssh/config

The file should look more or less like this:

Host frbast.wikimedia.org
    User your_username_here
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_rsa
    ProxyCommand none

Host *.frack.* frdev1*
    User your_username_here
    IdentitiesOnly yes   
    IdentityFile ~/.ssh/id_rsa
    ProxyCommand ssh -a -W %h:%p frbast.wikimedia.org

Make it so, and save. The name of "id_rsa" may vary.