clixon_netconf_ssh_callhome.c
khromenokroman opened this issue · 6 comments
Hello, in version 5.9.0 it was in test/util clixon_netconf_ssh_call home.c and in 7.0.1 this is not
in the documentation https://clixon-docs.readthedocs.io/en/latest/netconf.html it says what should be used
The call home and callhome-client referred to above are implemented by the utility functions:
util/clixon_netconf_ssh_callhome and util/clixon_netconf_ssh_callhome_client.
I also looked at the tests test_netconf_ssh_callhome.sh , it is also used in tests there
-o ProxyCommand=\"clixon_netconf_ssh_callhome_client
But I don't have it.
can you tell me how I should do it in the end? Need help :))
client
ssh -s -v -l sysadmin -o ProxyUseFdpass=yes -o ProxyCommand="clixon_netconf_ssh_callhome_client -a 10.0.5.7" . netconf < msg
<?xml version="1.0" encoding="UTF-8"?><hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><capabilities><capability>urn:ietf:params:netconf:base:1.1</capability></capabilities></hello>]]>]]><rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><get-config><source><candidate/></source></get-config></rpc>]]>]]>
servet
clixon_netconf_ssh_callhome -c /usr/share/test/clixon/clixon-test.xml -a 10.0.5.7
I do it according to the documentation https://clixon-docs.readthedocs.io/en/latest/netconf.html 10.5 example
the utility functions have moved to https://github.com/clicon/clixon-util
I updated the docs to point to that location.
There is also a regression test here: https://github.com/clicon/clixon/blob/master/test/test_netconf_ssh_callhome.sh
You should be able to make it work via that.
If you see other problems with the docs, please tell.
@olofhagsand tell me, I understand correctly that when using call home, I have to make sure that the ssh key is on the host, it does not transmit it itself, right?