xref: /aosp_15_r20/external/angle/build/fuchsia/test/sshconfig (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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.
4Host 127.0.0.1
5  Port 8022
6Host ::1
7  Port 8022
8Host *
9# Turn off refusing to connect to hosts whose key has changed
10StrictHostKeyChecking no
11CheckHostIP no
12# Disable recording the known hosts
13UserKnownHostsFile=/dev/null
14# Do not forward auth agent connection to remote, no X11
15ForwardAgent no
16ForwardX11 no
17# Connection timeout in seconds
18ConnectTimeout=10
19# Check for server alive in seconds, max count before disconnecting
20ServerAliveInterval 1
21ServerAliveCountMax 10
22# Try to keep the master connection open to speed reconnecting.
23ControlMaster auto
24ControlPersist 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.
34ControlPath=~/.ssh/fx-%C
35# Connect with user, use the identity specified.
36User fuchsia
37IdentitiesOnly yes
38IdentityFile ~/.ssh/fuchsia_ed25519
39GSSAPIDelegateCredentials no
40