Fundraising/tech/ssh config: Difference between revisions
< Fundraising | tech
Content deleted Content added
Cdentinger (talk | contribs) created page, explanation for less technical users |
Cdentinger (talk | contribs) m new bastion |
||
Line 2: | Line 2: | ||
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: |
||
Host |
Host frbast-eqiad.wikimedia.org |
||
User your_username_here |
User your_username_here |
||
IdentitiesOnly yes |
IdentitiesOnly yes |
||
Line 12: | Line 12: | ||
IdentitiesOnly yes |
IdentitiesOnly yes |
||
IdentityFile ~/.ssh/id_rsa |
IdentityFile ~/.ssh/id_rsa |
||
ProxyCommand ssh -a -W %h:%p |
ProxyCommand ssh -a -W %h:%p frbast-eqiad.wikimedia.org |
||
Make it so, and save. The name of "id_rsa" may vary. |
Make it so, and save. The name of "id_rsa" may vary. |
Revision as of 21:52, 2 May 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-eqiad.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-eqiad.wikimedia.org
Make it so, and save. The name of "id_rsa" may vary.