Fundraising/tech/ssh config: Difference between revisions

From Wikitech
Content deleted Content added
Test9999 (talk | contribs)
Replaced content with "test9999"
Tag: Replaced
m Reverted edits by Test9999 (talk) to last revision by Cdentinger
Tag: Rollback
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:
test9999
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.

Revision as of 18:31, 18 June 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:

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.