Fwd: KnownHostsCommand /usr/bin/sss_ssh_knownhosts %H breaks if host entry in ~/ssh/config exists specifying the IP

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



This command fails

%  ssh tarzan
KnownHostsCommand-ORDER /usr/bin/sss_ssh_knownhosts 10.10.11.14 failed,
status 1
KnownHostsCommand failed

If there is an IP entry in ~/.ssh/config

Host tarzan
  hostname 10.10.11.14


So I created a wrapper:

%  cat /usr/bin/sss_ssh_knownhosts.wrapper
#!/bin/sh
/usr/bin/sss_ssh_knownhosts "$@" || true

Which works around the problem and does make ssh check ~/ssh/knownhosts
again.

I don't know what is wisdom here. Is this an oversight, is there a more
elegant solution?

Best regards
Han
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux