Skip to content

Commit aa51810

Browse files
authored
allow ssh-rsa when connecting to leafs (#101)
1 parent af69f82 commit aa51810

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ up: env control-plane-bake partition-bake
4040
# for some reason an allocated machine will not be able to phone home
4141
# without restarting the metal-core
4242
# TODO: should be investigated and fixed if possible
43-
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@leaf01 -i files/ssh/id_rsa 'systemctl restart metal-core'
44-
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@leaf02 -i files/ssh/id_rsa 'systemctl restart metal-core'
43+
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o "PubkeyAcceptedKeyTypes +ssh-rsa" root@leaf01 -i files/ssh/id_rsa 'systemctl restart metal-core'
44+
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o "PubkeyAcceptedKeyTypes +ssh-rsa" root@leaf02 -i files/ssh/id_rsa 'systemctl restart metal-core'
4545

4646
.PHONY: restart
4747
restart: down up
@@ -131,11 +131,11 @@ ls: env
131131

132132
.PHONY: ssh-leaf01
133133
ssh-leaf01:
134-
ssh -o StrictHostKeyChecking=no -i files/ssh/id_rsa root@leaf01
134+
ssh -o StrictHostKeyChecking=no -o "PubkeyAcceptedKeyTypes +ssh-rsa" -i files/ssh/id_rsa root@leaf01
135135

136136
.PHONY: ssh-leaf02
137137
ssh-leaf02:
138-
ssh -o StrictHostKeyChecking=no -i files/ssh/id_rsa root@leaf02
138+
ssh -o StrictHostKeyChecking=no -o "PubkeyAcceptedKeyTypes +ssh-rsa" -i files/ssh/id_rsa root@leaf02
139139

140140
## MACHINE MANAGEMENT ##
141141

0 commit comments

Comments
 (0)