improve ssh speed during testing

This commit is contained in:
Edwin Eefting
2023-10-03 12:49:32 +02:00
parent 8b8be80ab7
commit ff86e3c67f
2 changed files with 27 additions and 3 deletions

View File

@ -18,6 +18,15 @@ if ! [ -e /root/.ssh/id_rsa ]; then
ssh -oStrictHostKeyChecking=no localhost true || exit 1
fi
cat >> ~/.ssh/config <<EOF
Host *
addkeystoagent yes
controlpath ~/.ssh/control-master-%r@%h:%p
controlmaster auto
controlpersist 3600
EOF
modprobe brd rd_size=512000
umount /tmp/ZfsCheck*