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
|
Host Manioc
|
||||||
HostName ns331481.ip-37-187-121.eu
|
HostName ns331481.ip-37-187-121.eu
|
||||||
User waha
|
User sshcontent
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
PubkeyAcceptedKeyTypes *
|
PubkeyAcceptedKeyTypes *
|
||||||
identityfile ~/.ssh/id_ed25519_Manioc
|
identityfile ~/.ssh/id_ed25519_Manioc
|
||||||
|
|
||||||
Host Embrevade
|
Host Embrevade
|
||||||
HostName 5.196.95.88
|
HostName 5.196.95.88
|
||||||
User waha
|
User sshcontent
|
||||||
Port 22
|
Port 22
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
PubkeyAcceptedKeyTypes *
|
PubkeyAcceptedKeyTypes *
|
||||||
@ -16,7 +16,7 @@ Host Embrevade
|
|||||||
|
|
||||||
Host Panais
|
Host Panais
|
||||||
HostName 91.121.90.228
|
HostName 91.121.90.228
|
||||||
User waha
|
User sshcontent
|
||||||
Port 22
|
Port 22
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
PubkeyAcceptedKeyTypes *
|
PubkeyAcceptedKeyTypes *
|
||||||
@ -25,7 +25,7 @@ Host Panais
|
|||||||
|
|
||||||
Host BV_boutique
|
Host BV_boutique
|
||||||
HostName vps789921.ovh.net
|
HostName vps789921.ovh.net
|
||||||
User waha
|
User sshcontent
|
||||||
Port 22
|
Port 22
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
PubkeyAcceptedKeyTypes *
|
PubkeyAcceptedKeyTypes *
|
||||||
@ -34,17 +34,17 @@ Host BV_boutique
|
|||||||
|
|
||||||
Host git_opytex
|
Host git_opytex
|
||||||
HostName git.opytex.org
|
HostName git.opytex.org
|
||||||
User git
|
User git
|
||||||
Port 2222
|
Port 2222
|
||||||
identityfile ~/.ssh/id_rsa_gitopytex
|
identityfile ~/.ssh/id_rsa_gitopytex
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
|
|
||||||
Host github
|
Host github
|
||||||
HostName github.com
|
HostName github.com
|
||||||
User git
|
User git
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
PubkeyAcceptedKeyTypes *
|
PubkeyAcceptedKeyTypes *
|
||||||
identityfile ~/.ssh/id_dsa_noPass
|
identityfile ~/.ssh/id_dsa_noPass
|
||||||
|
|
||||||
Host Choux
|
Host Choux
|
||||||
HostName Choux
|
HostName Choux
|
||||||
@ -52,3 +52,17 @@ Host Choux
|
|||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
identityfile ~/.ssh/id_ed25519_home
|
identityfile ~/.ssh/id_ed25519_home
|
||||||
PubkeyAcceptedKeyTypes *
|
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
|
- name: dotfiles -- Copy ssh user config
|
||||||
template:
|
template:
|
||||||
src: files/dotfiles/sshconfig
|
src: files/dotfiles/ssh/config_deploy
|
||||||
dest: /home/{{ item.username }}/.ssh/config
|
dest: /home/{{ item.username }}/.ssh/config
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.group }}"
|
group: "{{ item.group }}"
|
||||||
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
- name: dotfiles -- Copy ssh user config
|
- name: dotfiles -- Copy ssh user config
|
||||||
template:
|
template:
|
||||||
src: files/dotfiles/sshconfig
|
src: files/dotfiles/ssh/config_me
|
||||||
dest: /home/{{ item.username }}/.ssh/config
|
dest: /home/{{ item.username }}/.ssh/config
|
||||||
owner: "{{ item.username }}"
|
owner: "{{ item.username }}"
|
||||||
group: "{{ item.group }}"
|
group: "{{ item.group }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user