refactor: migrate ssh config & keys from /opt/secure/ssh to ~/.ssh
This commit is contained in:
parent
cf3dde053d
commit
522713b5c2
4
00-allow-git.conf → .ssh/config
Normal file → Executable file
4
00-allow-git.conf → .ssh/config
Normal file → Executable file
@ -1,7 +1,7 @@
|
|||||||
Host alps
|
Host alps
|
||||||
HostName 10.88.0.1
|
HostName 10.88.0.1
|
||||||
User git
|
User git
|
||||||
IdentityFile /opt/secure/ssh/id_ed25519
|
IdentityFile ~/.ssh/id_ed25519
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
StrictHostKeyChecking yes
|
StrictHostKeyChecking yes
|
||||||
Port 2222
|
Port 2222
|
||||||
@ -10,7 +10,7 @@ Host alps
|
|||||||
Host github
|
Host github
|
||||||
HostName github.com
|
HostName github.com
|
||||||
User git
|
User git
|
||||||
IdentityFile /opt/secure/ssh/id_ed25519
|
IdentityFile ~/.ssh/id_ed25519
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
StrictHostKeyChecking yes
|
StrictHostKeyChecking yes
|
||||||
ProxyCommand none
|
ProxyCommand none
|
Loading…
x
Reference in New Issue
Block a user