1*6777b538SAndroid Build Coastguard Worker# Configure port 8022 for connecting to a device with the local address. 2*6777b538SAndroid Build Coastguard Worker# This makes it possible to forward 8022 to a device connected remotely. 3*6777b538SAndroid Build Coastguard Worker# The fuchsia private key is used for the identity. 4*6777b538SAndroid Build Coastguard WorkerHost 127.0.0.1 5*6777b538SAndroid Build Coastguard Worker Port 8022 6*6777b538SAndroid Build Coastguard WorkerHost ::1 7*6777b538SAndroid Build Coastguard Worker Port 8022 8*6777b538SAndroid Build Coastguard WorkerHost * 9*6777b538SAndroid Build Coastguard Worker# Turn off refusing to connect to hosts whose key has changed 10*6777b538SAndroid Build Coastguard WorkerStrictHostKeyChecking no 11*6777b538SAndroid Build Coastguard WorkerCheckHostIP no 12*6777b538SAndroid Build Coastguard Worker# Disable recording the known hosts 13*6777b538SAndroid Build Coastguard WorkerUserKnownHostsFile=/dev/null 14*6777b538SAndroid Build Coastguard Worker# Do not forward auth agent connection to remote, no X11 15*6777b538SAndroid Build Coastguard WorkerForwardAgent no 16*6777b538SAndroid Build Coastguard WorkerForwardX11 no 17*6777b538SAndroid Build Coastguard Worker# Connection timeout in seconds 18*6777b538SAndroid Build Coastguard WorkerConnectTimeout=10 19*6777b538SAndroid Build Coastguard Worker# Check for server alive in seconds, max count before disconnecting 20*6777b538SAndroid Build Coastguard WorkerServerAliveInterval 1 21*6777b538SAndroid Build Coastguard WorkerServerAliveCountMax 10 22*6777b538SAndroid Build Coastguard Worker# Try to keep the master connection open to speed reconnecting. 23*6777b538SAndroid Build Coastguard WorkerControlMaster auto 24*6777b538SAndroid Build Coastguard WorkerControlPersist yes 25*6777b538SAndroid Build Coastguard Worker# When expanded, the ControlPath below cannot have more than 90 characters 26*6777b538SAndroid Build Coastguard Worker# (total of 108 minus 18 used by a random suffix added by ssh). 27*6777b538SAndroid Build Coastguard Worker# '%C' expands to 40 chars and there are 9 fixed chars, so '~' can expand to 28*6777b538SAndroid Build Coastguard Worker# up to 41 chars, which is a reasonable limit for a user's home in most 29*6777b538SAndroid Build Coastguard Worker# situations. If '~' expands to more than 41 chars, the ssh connection 30*6777b538SAndroid Build Coastguard Worker# will fail with an error like: 31*6777b538SAndroid Build Coastguard Worker# unix_listener: path "..." too long for Unix domain socket 32*6777b538SAndroid Build Coastguard Worker# A possible solution is to use /tmp instead of ~, but it has 33*6777b538SAndroid Build Coastguard Worker# its own security concerns. 34*6777b538SAndroid Build Coastguard WorkerControlPath=~/.ssh/fx-%C 35*6777b538SAndroid Build Coastguard Worker# Connect with user, use the identity specified. 36*6777b538SAndroid Build Coastguard WorkerUser fuchsia 37*6777b538SAndroid Build Coastguard WorkerIdentitiesOnly yes 38*6777b538SAndroid Build Coastguard WorkerIdentityFile ~/.ssh/fuchsia_ed25519 39*6777b538SAndroid Build Coastguard WorkerGSSAPIDelegateCredentials no 40