Hi,
I am trying “19.5.1. Using OpenSSH”, I have also made the changes required in sshd_config. I have compiled netconf-subsys and placed the executable in /usr/local/bin.
I have disabled SSH in confd.conf.
<transport>
<ssh>
<enabled>false</enabled>
<ip>0.0.0.0</ip>
<port>2022</port>
</ssh>
<tcp>
<enabled>false</enabled>
<ip>127.0.0.1</ip>
<port>2023</port>
</tcp>
</transport>
I would like to understand how to ssh now ?
I have been using this command and its been working
ssh -s -p 2022 user@192.168.8.220 netconf
But with the above changes made for openssh, i understand i couldn’t use the command anymore. I am supposed to use TCP/IPC port.
I tried netconf-console-tcp with port as 2023, or with ports mentioned in $CONFD_DIR/src/confd/netconf/netconf-subsys.c(4569, 4565). The result is negative, it throws connection refused error with netconf-console-tcp
netconf-console-tcp -u user --host 192.168.8.220 --port 2023 -p abcdef --hello
Failed to connect to 192.168.8.220: [Errno 111] Connection refused
Please guide on what am i missing for the initial successful connection.
Thanks,
Ash