Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86bd588

Browse files
committed
ssh config
1 parent 7eac57c commit 86bd588

6 files changed

Lines changed: 9 additions & 17 deletions

File tree

install.conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
~/.config/termite: termite
2525
~/.config/firefox: firefox
2626
~/.config/colors: colors
27+
~/.ssh: ssh
2728

2829
# globs
2930
# -----
30-
~/.ssh/: ssh/*
3131
~/bin/: bin/*
3232

3333
# files

ssh/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
authorized_keys
2+
known_hosts
3+
sockets/*.controlmaster

ssh/config

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1+
# vim: set ft=sshconfig:
12
Include config.d/*
23

3-
Host *.ftdna.com
4-
User baot
5-
IdentityFile ~/.ssh/gpg-bao-gxg.pub
6-
74
Host github.com
85
User git
96

107
# default parameters
118
Host *
12-
IdentitiesOnly no
139
ControlMaster auto
10+
IdentitiesOnly no
1411

1512
CanonicalizeHostname yes
1613
CanonicalizeFallbackLocal yes
@@ -28,5 +25,5 @@ Host *
2825
# %r The remote username.
2926
# %T The local tun(4) or tap(4) network interface assigned if tunnel forwarding was requested, or "NONE" otherwise.
3027
# %u The local username.
31-
ControlPath ~/.ssh/%r@%n:%h:%p.controlmaster
28+
ControlPath ~/.ssh/sockets/%r@%n:%h:%p.controlmaster
3229
ControlPersist 10m
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ CanonicalDomains int.ftdna.com unx.ftdna.com
33
CanonicalizePermittedCNAMEs *.*.ftdna.com:*.*.ftdna.com
44

55
Host *.ftdna.com
6+
User baot
67
IdentityFile ~/.ssh/gpg-bao-gxg.pub
7-
ControlMaster auto
88
ForwardAgent yes
9-
# IdentitiesOnly no
109

11-
Host github.com gh-bao-gxg
10+
Host gh-bao-gxg
1211
IdentityFile ~/.ssh/gpg-bao-gxg.pub
1312
HostName github.com

ssh/config.d/10_personal

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
# vim: set ft=sshconfig:
22
CanonicalDomains int.poorboys.casa
33

4-
Host 144.76.82.49
5-
IdentityFile ~/.ssh/gpg-qubidt.pub
6-
ControlMaster auto
7-
ForwardAgent yes
8-
94
Host *.poorboys.casa *.baodtrinh.com
105
IdentityFile ~/.ssh/gpg-qubidt.pub
11-
ControlMaster auto
12-
ForwardAgent yes
136

147
Host gh-qubidt
158
IdentityFile ~/.ssh/gpg-qubidt.pub

ssh/sockets/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)