-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f01ef78
commit aea4f22
Showing
8 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Some vagrant box | ||
Host client-vagrant | ||
HostName 127.0.0.1 | ||
User vagrant | ||
Port 2200 | ||
UserKnownHostsFile /dev/null | ||
StrictHostKeyChecking no | ||
PasswordAuthentication no | ||
IdentityFile /Users/gableroux/somewhere/.vagrant/machines/default/virtualbox/private_key | ||
IdentitiesOnly yes | ||
LogLevel FATAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Example server | ||
Host client-roomserver01 | ||
Hostname 255.255.255.255 | ||
User root | ||
Port 22 | ||
IdentitiesOnly no | ||
PreferredAuthentications=password | ||
# ProxyCommand ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no client-proxy-server nc %h %p %r -e | ||
# ProxyCommand ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no client-proxy-server nc %h %p | ||
ProxyJump client-proxy-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# github | ||
Host github github.com gist.github.com | ||
Hostname github.com | ||
User git | ||
IdentityFile ~/.ssh/github_rsa | ||
IdentitiesOnly yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
snippet Host | ||
options head | ||
Host ${1:name} | ||
HostName $1.${2:domain} | ||
Port ${3} | ||
${4:User } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Router | ||
Host 192.168.1.1 tomato | ||
#Hostname tomato | ||
Hostname 192.168.1.1 | ||
IdentityFile ~/.ssh/tomato_rsa | ||
IdentitiesOnly yes | ||
User root | ||
KexAlgorithms +diffie-hellman-group1-sha1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Some password only server example | ||
Host 192.168.0.100 example | ||
Hostname 192.168.0.100 | ||
IdentityFile ~/.ssh/id_rsa | ||
IdentitiesOnly yes | ||
User root | ||
PreferredAuthentications=password | ||
PubkeyAuthentication=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters