diff options
author | William Carroll <wpcarro@gmail.com> | 2019-02-27T17·18+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-02-28T12·24+0000 |
commit | f4c53982c70927a23276405c4bc9c02b1a59fa4c (patch) | |
tree | 491955e67b8995981017721bd9575e36fd0aff0f | |
parent | babd7393d5804ffdaae1976426c9afb5ee89930e (diff) |
Support .ssh/config
Beware and avoid leaking sensitive data. Options: - ensure wpcarro/dotfiles remains private while support potentially sensitive documents - consider encrypting sensitive documents using gnupg or git-crypt - consider having someone from the Security team audit the repository to ensure that nothing sensitive is being leaked
-rw-r--r-- | README.md | 28 | ||||
-rw-r--r-- | configs/shared/misc/.ssh/config | 5 |
2 files changed, 6 insertions, 27 deletions
diff --git a/README.md b/README.md index b2f4d40cc392..539185fed3e3 100644 --- a/README.md +++ b/README.md @@ -7,33 +7,7 @@ other items. Configuration is everything. -# SSH - -Here are a few useful tips for working with SSH. - -## ssh_config - -Instead of creating shell aliases and functions for conveniently accessing -remote nodes over SSH, edit your `~/.ssh/config` file. - -Instead of doing this... - -```bash -$ alias ec2='ssh -i /path/to/identity_file.pem ubuntu@<ec2-instance-public-ip>' -``` - -...edit your `~/.ssh/config`: - -``` -Host ec2 - User ubuntu - HostName <ec2-instance-public-ip> - IdentityFile /path/to/identity_file.pem - -# Host * configuration below... -``` - -## sshfs +# SSHFS SSHFS enables seamless file transfers from your local machine to a remote machine. diff --git a/configs/shared/misc/.ssh/config b/configs/shared/misc/.ssh/config new file mode 100644 index 000000000000..7d3075cbd502 --- /dev/null +++ b/configs/shared/misc/.ssh/config @@ -0,0 +1,5 @@ +Host box + Hostname wpcarro.lon.corp.google.com + +Match host *.corp.google.com + ProxyCommand corp-ssh-helper %h %p |