#!/bin/sh | |
cat <<EOF >"$2" | |
Host 127.0.0.1 | |
Port 8022 | |
Host ::1 | |
Port 8022 | |
Host * | |
CheckHostIP no | |
StrictHostKeyChecking no | |
ForwardAgent no | |
ForwardX11 no | |
UserKnownHostsFile /dev/null | |
IdentityFile $1 | |
ControlPersist yes | |
ControlMaster auto | |
ControlPath /tmp/fuchsia-$USER-%r@%h:%p | |
ConnectTimeout 10 | |
ServerAliveInterval 1 | |
ServerAliveCountMax 10 | |
LogLevel ERROR | |
PubkeyAuthentication yes | |
PasswordAuthentication no | |
EOF |