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>Cdentinger
(more basic explanation)
imported>Cdentinger
(Moved to collab as it is fundraising specific)
 
Line 1: Line 1:
In order to access frack hosts (such as frdev1001) you must have a proper [https://en.wikipedia.org/wiki/Secure_Shell ssh] ssh config.  This involves making a [https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory hidden directory] inside your
Moved to [https://collab.wikimedia.org/wiki/Fundraising_ssh_client_config collab]
[https://en.wikipedia.org/wiki/Home_directory home directory]:
 
mkdir -p ~/.ssh
 
Next make a new [https://en.wikipedia.org/wiki/Computer_file file] in the new directory:
 
touch ~/.ssh/config
 
Open the file in your preferred [https://en.wikipedia.org/wiki/Text_editor text editor]:
 
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.

Latest revision as of 23:33, 6 May 2019

Moved to collab