Feat: 2 differents ssh config me!=deploy
This commit is contained in:
parent
af5fbc30d5
commit
54b49ec564
33
files/dotfiles/ssh/config_deploy
Executable file
33
files/dotfiles/ssh/config_deploy
Executable file
@ -0,0 +1,33 @@
|
||||
Host Manioc
|
||||
HostName ns331481.ip-37-187-121.eu
|
||||
User waha
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_Manioc
|
||||
|
||||
Host Embrevade
|
||||
HostName 5.196.95.88
|
||||
User waha
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_Embrevade
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host Panais
|
||||
HostName 91.121.90.228
|
||||
User waha
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_Panais
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host BV_boutique
|
||||
HostName vps789921.ovh.net
|
||||
User waha
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_BV_boutique
|
||||
IdentitiesOnly yes
|
@ -1,13 +1,13 @@
|
||||
Host Manioc
|
||||
HostName ns331481.ip-37-187-121.eu
|
||||
User waha
|
||||
User sshcontent
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_Manioc
|
||||
|
||||
Host Embrevade
|
||||
HostName 5.196.95.88
|
||||
User waha
|
||||
User sshcontent
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
@ -16,7 +16,7 @@ Host Embrevade
|
||||
|
||||
Host Panais
|
||||
HostName 91.121.90.228
|
||||
User waha
|
||||
User sshcontent
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
@ -25,7 +25,7 @@ Host Panais
|
||||
|
||||
Host BV_boutique
|
||||
HostName vps789921.ovh.net
|
||||
User waha
|
||||
User sshcontent
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
@ -34,17 +34,17 @@ Host BV_boutique
|
||||
|
||||
Host git_opytex
|
||||
HostName git.opytex.org
|
||||
User git
|
||||
User git
|
||||
Port 2222
|
||||
identityfile ~/.ssh/id_rsa_gitopytex
|
||||
identityfile ~/.ssh/id_rsa_gitopytex
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host github
|
||||
HostName github.com
|
||||
User git
|
||||
User git
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_dsa_noPass
|
||||
identityfile ~/.ssh/id_dsa_noPass
|
||||
|
||||
Host Choux
|
||||
HostName Choux
|
||||
@ -52,3 +52,17 @@ Host Choux
|
||||
ForwardAgent yes
|
||||
identityfile ~/.ssh/id_ed25519_home
|
||||
PubkeyAcceptedKeyTypes *
|
||||
|
||||
Host Combava
|
||||
HostName Combava
|
||||
User lafrite
|
||||
ForwardAgent yes
|
||||
identityfile ~/.ssh/id_ed25519_home
|
||||
PubkeyAcceptedKeyTypes *
|
||||
|
||||
Host Raisin
|
||||
HostName Raisin
|
||||
User lafrite
|
||||
ForwardAgent yes
|
||||
identityfile ~/.ssh/id_ed25519_home
|
||||
PubkeyAcceptedKeyTypes *
|
@ -123,7 +123,7 @@
|
||||
|
||||
- name: dotfiles -- Copy ssh user config
|
||||
template:
|
||||
src: files/dotfiles/sshconfig
|
||||
src: files/dotfiles/ssh/config_deploy
|
||||
dest: /home/{{ item.username }}/.ssh/config
|
||||
owner: "{{ item.username }}"
|
||||
group: "{{ item.group }}"
|
||||
@ -132,7 +132,7 @@
|
||||
|
||||
- name: dotfiles -- Copy ssh user config
|
||||
template:
|
||||
src: files/dotfiles/sshconfig
|
||||
src: files/dotfiles/ssh/config_me
|
||||
dest: /home/{{ item.username }}/.ssh/config
|
||||
owner: "{{ item.username }}"
|
||||
group: "{{ item.group }}"
|
||||
|
Loading…
Reference in New Issue
Block a user