feat: add identity_file field to config connections config

This commit is contained in:
Connor Edwards committed 2025-02-08 15:56:18 +00:00
1 parent e3a310397b
commit ac48b8bee6
5 files changed
+57 -11

No files matched your search

+5 -4
View File
@@ -14,10 +14,11 @@ const (
)
type MachineConnection struct {
SSH SSHDestination `toml:"ssh,omitempty"`
TCP netip.AddrPort `toml:"tcp,omitempty"`
Host string `toml:"host,omitempty"`
PublicKey secret.Secret `toml:"public_key,omitempty"`
SSH SSHDestination `toml:"ssh,omitempty"`
TCP netip.AddrPort `toml:"tcp,omitempty"`
Host string `toml:"host,omitempty"`
PublicKey secret.Secret `toml:"public_key,omitempty"`
IdentityFile string `toml:"identity_file,omitempty"`
}
// SSHDestination represents an SSH destination string in the canonical form of "user@host:port".