File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,12 +199,12 @@ run_ssh_node(){
199
199
200
200
if [ " ${destnode} " = " sshjump" ]; then
201
201
ssh ${sshuser} @127.0.0.1 -p 2222 -i ${identity_sshjump} \
202
- -o " StrictHostKeyChecking=no" $sshargs
202
+ -o StrictHostKeyChecking=no -o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa $sshargs
203
203
else
204
204
# Using the SSH Server as a jumphost (via port-forward proxy), ssh into the desired Node
205
205
ssh -i ${identity} -p ${port} ${sshuser} @${destnode} \
206
206
-o " ProxyCommand ssh root@127.0.0.1 -p 2222 -i ${identity_sshjump} -o \" StrictHostKeyChecking=no\" \" nc %h %p\" " \
207
- -o " StrictHostKeyChecking=no" $sshargs
207
+ -o StrictHostKeyChecking=no -o HostkeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa $sshargs
208
208
fi
209
209
# Stop port-forward
210
210
kill -3 ${pid_port_forward} 2> /dev/null
You can’t perform that action at this time.
0 commit comments