1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00

installer: add ssh ControlMaster=autoask option

This commit is contained in:
bretello 2020-04-04 19:58:31 +02:00
parent 6404072559
commit de5d903f00

View File

@ -97,7 +97,8 @@ function create_ssh_config {
echo '#Compression=yes'
echo
echo '## Uncomment the following to enable ssh ControlMaster and ssh session persistence'
echo '#ControlMaster auto'
echo '#ControlMaster autoask # ask for confirmation before using a shared connection'
echo '#ControlMaster auto # do not ask for confirmation'
echo '#ControlPath ~/.ssh/%r@%h:%p'
echo '#ControlPersist yes'
echo