06-25-2020 04:27 PM
I am trying to create a lab using csr1000v-universalk9.16.06.04 on VMWare Workstation
I have followed the standard configs
1. Created username and password with privilege level 15
2. Generate certificate
3. netconf ssh
4. netconf-yang
5. line vty 0 4 - transport input ssh and login local
6. aaa new-model, enable authentication local and authorization exec local
When i try to connect from my Ubuntu VM or Ubuntu App on Windows:
rodevnet@DOUBLE-O:~$ ssh -s admin@192.168.239.128 -p 830 netconf
I get below error
ssh: connect to host 192.168.239.128 port 830: Connection refused
Please help
Solved! Go to Solution.
06-27-2020 02:32 AM
try -
ssh -p 830 -s admin@192.168.239.128 netconf
ssh -s admin@192.168.239.128 netconf
06-29-2020 02:34 AM
Heya,
Can you telnet to that port? If it's working you should see a response like SSH-2.0-OpenSSH_6.1 or something. I've just done that on an IOS-XE device running NETCONF & thats my response. That will at least tell you if NETCONF is listening.
My syntax to see the hello/capabilities via SSH (just tested and it's working) is:
ssh admin@192.168.239.128 -p 830 -s netconf
06-27-2020 02:27 AM
Hi
Config looks ok to me ..
Can you ssh to the box on port 22? just normal ssh - admin@192.168.239.128
06-27-2020 02:32 AM
try -
ssh -p 830 -s admin@192.168.239.128 netconf
ssh -s admin@192.168.239.128 netconf
06-29-2020 02:34 AM
Heya,
Can you telnet to that port? If it's working you should see a response like SSH-2.0-OpenSSH_6.1 or something. I've just done that on an IOS-XE device running NETCONF & thats my response. That will at least tell you if NETCONF is listening.
My syntax to see the hello/capabilities via SSH (just tested and it's working) is:
ssh admin@192.168.239.128 -p 830 -s netconf
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: