02-15-2023 03:57 AM
Hej
I am new to NSO and getting the error in title while trying to connect to a Juniper vSRX. I can ping the device but can not connect. I would appreciate the help
I read online it could be a Java-vm issue but all Java for all NEDs seem to be installed
admin@ncs> show packages package oper-status java-uninitialized
% No entries found.
[ok][2023-02-15 11:53:32]
admin@ncs> show packages package oper-status up
NAME UP
--------------------------
a10-acos-cli-3.0 X
alu-sr-cli-3.4 X
cisco-asa-cli-6.6 X
cisco-ios-cli-3.0 X
cisco-ios-cli-3.8 X
cisco-ios-cli-6.90 X
cisco-iosxr-cli-3.0 X
cisco-iosxr-cli-3.5 X
cisco-iosxr-cli-7.44 X
cisco-iosxr-nc-7.8 X
cisco-nx-cli-3.0 X
dell-ftos-cli-3.0 X
juniper-junos-nc-3.0 X
This is the config for the device, and looks alright as far as I can see
admin@ncs> show configuration devices device Oscar-Cust-1
address 10.250.10.101;
port 830;
authgroup Oscar;
device-type {
cli {
ned-id juniper-junos-nc-3.0;
protocol ssh;
}
}
state {
admin-state unlocked;
}
Solved! Go to Solution.
02-16-2023 01:08 AM
Please fetch ssh host keys.
# devices device Oscar-Cust-1 ssh fetch-host-keys
02-15-2023 05:36 AM
Hi,
is this netconf NED,? if so configure device-type as netconf
# devices device Oscar-Cust-1 device-type netconf ned-id juniper-junos-nc-3.0
# commit
02-15-2023 06:33 AM
I am pretty knew so don't know how to check if a Ned is netconf. How can I find that out?
02-15-2023 08:44 AM
Its netconf NED, juniper-junos-nc-3.0 (nc=netconf). Please configure device-type as netconf
# devices device Oscar-Cust-1 device-type netconf ned-id juniper-junos-nc-3.0
# commit
02-16-2023 12:58 AM
I have done that but now get SSH-Key error.
admin@ncs(config)# show full-configuration devices device Oscar-Cust-1
devices device Oscar-Cust-1
address 10.250.10.101
port 830
authgroup Oscar
device-type netconf ned-id juniper-junos-nc-3.0
state admin-state unlocked
!
As far as I can see, the config should use the password in the auth-group, but it doesn't seem to
admin@ncs(config)# show full-configuration devices authgroups group Oscar
devices authgroups group Oscar
umap admin
remote-name odj
remote-password $9$vTkxwaZAk+YzaOooUogJuRYy7p2GVsAAvx/8MuWLYPI=
!
umap odj
remote-name odj
remote-password $9$KL5bfnTUtstCL+hWwxv7okQ6BE9oe3Icarz9CZ31FvA=
!
umap oscj
remote-name odj
remote-password $9$MZ8KrTrAlq5ahop2FMVb9cHo/q5oLBsxOkOepgCItCk=
!
!
02-16-2023 01:08 AM
Please fetch ssh host keys.
# devices device Oscar-Cust-1 ssh fetch-host-keys
02-16-2023 01:59 AM
Thanks,
This + Changing ned-id to netconf solved the issue.
Is it possible to fetch ssh host keys from GUI?
02-16-2023 02:33 AM
yes, its possible fetch ssh host-keys from GUI.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide