Description

Junos device shows error message "Did not receive identification string from <ipAddress> " after deleting device in Junos Space.
Device is trying to connect to Junos Space even after it has been deleted.

Symptoms

If a device which is managed by Junos Space cannot connect to the Space management server, the device will attempt a reconnect until it is successful.
When a device is deleted from Junos Space, Space should remove the device connection configuration. 
If the device is not reachable, Junos Space will delete the device from its database but the device will continue to try to connect.

Solution

 The Junos Space connection configuration must be deleted from the managed device manually.  Perform the following steps to do this:

  1. Login to the device with a user that has sufficient privileges to change the configuration.
  2. Show the device configuration:    show configuration
The configuration information will either be in "configuration system services" or in "configuration groups node0 | node1 system services", depending on whether the device is standalone or in a cluster.
  • Enter "edit" mode.
  • Delete the device connection configuration for Space:   delete system services outbound-ssh
  • Check the configuration change:   show | compare
  • Commit the configuration:   commit and quit
With the commit, the device will no longer try to connect to Junos Space.