You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host qemu
Hostname 127.0.0.1
User root
Port 5555
IdentitiesOnly yes
IdentityFile ~/.ssh/db_rsa
I've tried HostName vs Hostname, removing IdentitiesOnly, etc. I can tell the file is being read (strace). I've also removed everything else from my .ssh/config other than that block.
here's an example of a working entry
host v
hostname 10.0.2.15
IdentityFile ~/.ssh/cpu_rsa
User root
This is using github.com/kevinburke/ssh_config, and I note:
// Get finds the first value in the configuration that matches the alias and
// contains key. Get returns the empty string if no value was found, or if the
// Config contains an invalid conditional Include value.
//
// The match for key is case insensitive.
Still not sure what's up here, but now I'm wondering: can you build with CGO_ENABLED=0 as a sanity test
Hi -
In my .ssh/config:
I've tried HostName vs Hostname, removing IdentitiesOnly, etc. I can tell the file is being read (strace). I've also removed everything else from my .ssh/config other than that block.
I get:
and it looks like
kf = config.Get(host, "IdentityFile")
is failing.Thanks.
The text was updated successfully, but these errors were encountered: