blob: c9eadcd55fa80e42acb765a13955e3f2c785c663 [file] [log] [blame]
#!/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