02-20-2019 11:54 AM
Hi, in trying to make NSO work on the datacenter example that comes in the package... I was able to handle several issues along the process, however; I did hit the wall with the connection refused error below.
admin@ncs> request devices device catalyst3 sync-from
result false
info Failed to connect to device catalyst3: connection refused: Key exchange was not finished, connection is closed
I am having the same error when I try to sync from all the devices...does anyone have any clue or have faced the same issue? and more important, any suggestion to fix this issue?
admin@ncs> request devices sync-from
sync-result {
device asr0
result false
info Failed to connect to device asr0: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device asr1
result false
info Failed to connect to device asr1: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device asr2
result false
info Failed to connect to device asr2: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device asr3
result false
info Failed to connect to device asr3: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst0
result false
info Failed to connect to device catalyst0: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst1
result false
info Failed to connect to device catalyst1: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst2
result false
info Failed to connect to device catalyst2: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst3
result false
info Failed to connect to device catalyst3: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst4
result false
info Failed to connect to device catalyst4: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device catalyst5
result false
info Failed to connect to device catalyst5: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device dell0
result false
info Failed to connect to device dell0: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device dell1
result false
info Failed to connect to device dell1: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device nexus0
result false
info Failed to connect to device nexus0: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device nexus1
result false
info Failed to connect to device nexus1: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device nexus2
result false
info Failed to connect to device nexus2: connection refused: Key exchange was not finished, connection is closed.
}
sync-result {
device nexus3
result false
info Failed to connect to device nexus3: connection refused: Key exchange was not finished, connection is closed.
}
[ok][2019-02-20 13:49:35]
02-20-2019 01:03 PM
03-23-2019 08:53 AM - edited 03-23-2019 09:05 AM
3) manually ensure the SSH Keys from ${NCS_DIR}/etc/ncs/ssh/ were successfully copied to EACH netsim (device) ‘ssh’ directory
This is the location where you copy them to:
03-12-2024 01:05 PM
Good stuff, this got me out of the ditch.
you can also fetch keys for all the devices at one time with this command: admin@ncs# devices fetch-ssh-host-keys
then do admin@ncs# devices sync-from
Great help, thanks @joepak
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