Open HaleTom opened 4 years ago
It seems that --confhost isn't opening any keys:
--confhost
% grep IdentityFile ~/.ssh/config IdentityFile ~/.ssh/id_android IdentityFile ~/.ssh/id_boxy_rsa # IdentityFile ~/.ssh/id_4096rsa_20kdf # IdentityFile ~/.ssh/id_4096_jvlk.me % keychain -k all --quiet ; eval $(keychain --eval --agents ssh --confhost); ssh-add -l * keychain 2.8.5 ~ http://www.funtoo.org * Starting ssh-agent... The agent has no identities. %
strace shows that no attempt is made to open the IdentityFiles:
% strace -fs 80 keychain --eval --agents ssh --confhost |& grep -i /.ssh/ stat("/home/ravi/.ssh/config", {st_mode=S_IFREG|0755, st_size=3354, ...}) = 0 [pid 309511] read(6, "vi\0/home/ravi/.ssh/config\0", 131072) = 26 [pid 309511] read(6, "/usr/bin/grep\0--color=auto\0-i\0/.ssh/\0", 131072) = 37 [pid 309509] <... read resumed>" S+ 0:00 /usr/bin/grep --color=auto -i /.ssh/\n 309497 pts/15 S+ 0:00 "..., 128) = 128 [pid 309517] openat(AT_FDCWD, "/home/ravi/.ssh/config", O_RDONLY) = 3 [pid 309517] read(0, " User root\n Port 2222\n IdentityFile ~/.ssh/id_android\n KexAlgorithms diffie-"..., 128) = 128 [pid 309517] read(0, " Port 2222\n IdentityFile ~/.ssh/id_android\n KexAlgorithms diffie-hellman-grou"..., 128) = 128 [pid 309517] read(0, " IdentityFile ~/.ssh/id_android\n KexAlgorithms diffie-hellman-group1-sha1,diff"..., 128) = 128 [pid 309517] read(0, "# Infomred by \"stribka Secure Secure Shell\"\n\nHost *\n IdentityFile ~/.ssh/id_box"..., 128) = 128 [pid 309517] read(0, "\nHost *\n IdentityFile ~/.ssh/id_boxy_rsa\n\n AddKeysToAgent yes\n IgnoreUnknown "..., 128) = 128 [pid 309517] read(0, "Host *\n IdentityFile ~/.ssh/id_boxy_rsa\n\n AddKeysToAgent yes\n IgnoreUnknown U"..., 128) = 128 [pid 309517] read(0, " IdentityFile ~/.ssh/id_boxy_rsa\n\n AddKeysToAgent yes\n IgnoreUnknown UseKeych"..., 128) = 128 [pid 309517] read(0, " ControlMaster auto\n ControlPersist yes\n ControlPath ~/.ssh/sockets/%r@%h:%p\n"..., 128) = 128 [pid 309517] read(0, " ControlPersist yes\n ControlPath ~/.ssh/sockets/%r@%h:%p\n\n ChallengeResponseA"..., 128) = 128 [pid 309517] read(0, " ControlPath ~/.ssh/sockets/%r@%h:%p\n\n ChallengeResponseAuthentication no\n\n #"..., 128) = 128
Relevant ~/.ssh/config:
~/.ssh/config
% grep -B3 IdentityFile ~/.ssh/config Host ravidroid jnanidroid jnanitab ravidroid-local User root Port 2222 IdentityFile ~/.ssh/id_android -- # Infomred by "stribka Secure Secure Shell" Host * IdentityFile ~/.ssh/id_boxy_rsa
hello @HaleTom - if you'd like to report a bug kindly use https://bugs.funtoo.org/
you can also reach us on Discord - for more info check https://www.funtoo.org/Welcome
It seems that
--confhost
isn't opening any keys:strace shows that no attempt is made to open the IdentityFiles:
Relevant
~/.ssh/config
: