Closed UrusovVladimir closed 5 months ago
The plugin uses ssh and ovftool. Ovftool doesn't support ssh keys, so this plugin doesn't support ssh keys.
I can't find any information aobut ovftool
requiring SSH access: everything I can find points to it accessing the ESXi API via HTTPS. Do you have any pointers?
Looked into it some more. There is no mention of SSH in the ovftool manual. The only section talking about non-HTTP/HTTPS/FTP protocols has this to say:
This seems to confirm that ovftool does not use SSH at all? The SSH package in the Go stdlib supports key authentication: https://pkg.go.dev/golang.org/x/crypto/ssh#PublicKeys
How do i connect to esxi with ssh key? I don't want to use password because it's not safe enough. Thanks!