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