Connecting to a Device From Secure Console
You can use Secure Console to establish a connection to a device directly from the Junos Space user interface. Secure Console uses the SSH protocol to provide a secure remote access connection to a device. After you connect to a device, you can enter CLI commands from the terminal window to monitor or troubleshoot the device. You can use Secure Console to establish a connection to a managed device or unmanaged device. An unmanaged device is a device that has not been discovered in Junos Space.
This topic includes the following tasks:
Connecting to a Managed Device
To open an SSH session to connect to an managed device, the following conditions must be met:
- You must have Super Administrator or Device Manager privileges in Junos Space.
- The status of the managed device must be “UP”
You can use Secure Console to establish a connection to a Junos Space managed device. Secure Console uses the SSH protocol to provide a secure remote access connection to your managed devices.
To view the managed devices:
- From the task ribbon, select the Devices workspace.
- From the task ribbon, select the Manage Devices icon.
The Manage Devices inventory panel displays managed devices by name and IP address.
- Select a device by clicking on the thumbnail image for the device or selecting the table row for the device.
- In the Actions drawer, click Secure Console.
A window is displayed that prompts you to validate the device key fingerprint, as shown in the following illustration.

- Verify
that the fingerprint is for the device you want to connect to, and
type y and press Enter to validate the
Server’s key fingerprint.
A terminal window opens in a non-modal popup with the SSH connection opened on the selected device, as shown in the following example.


Note: You might encounter the error messages “Unable to Connect”, “Authentication Error”, or “Connection Lost or Terminated”, which are displayed as standard text in terminal window. When an error occurs, all other functionality in the terminal window is stopped. When you encounter such an error, you can close the terminal window and open a new SSH session.
- From the terminal window prompt, you can enter
CLI commands to monitor or troubleshoot the device.
Secure Console supports the following terminal control characters:
- CRTL + A—moves cursor to start of the command line
- CRTL + E—moves cursor to end of the command line
- ↑ (up arrow key)—repeats the last command
- TAB—completes a partially typed command
- To terminate the SSH session, type exit from the terminal window prompt and press Enter.
- Click in the top right corner of the terminal window to close the window.
Connecting to an Unmanaged Device
You can use Secure Console to establish a connection to an unmanaged device.
To open an SSH session to connect to an unmanaged device, the following conditions must be met:
- You must have Super Administrator or Device Manager privileges in Junos Space.
- The device is configured with a static management IP address that is reachable from the Junos Space appliance.
- SSH v2 is enabled on the device. To enable SSH v2 on a
device, issue the following CLI command:set system services ssh protocol-version v2
- The status of the managed device must be “UP”
- A valid user name and password is created on the device.
To view the managed devices:
- From the task ribbon, select the Devices workspace.
- From the task ribbon, select the Secure Console icon.
The Secure Console dialog box is displayed, as shown in the following illustration.

- Specify the IP address of the device.
- To establish an SSH connection for the device,
specify the administrator user name and password.
The name and password must match the name and password configured on the device.
- Click Connect.
The device key fingerprint window is displayed, as shown in the following example.

- Verify that the fingerprint is for the device you
want to connect to, and type y and press
Enter to validate the Server’s key fingerprint.
A terminal window opens in a non-modal popup with an SSH connection opened on the selected device, as shown in the following example.


Note: You might encounter the error messages “Unable to Connect”, “Authentication Error”, or “Connection Lost or Terminated”, which are displayed as standard text in terminal window. When an error occurs, all other functionality in the terminal window is stopped. If you encounter such an error, you can close the terminal window and open a new SSH session.
- From the terminal window prompt, you can enter
CLI commands to monitor or troubleshoot the device.
Secure Console supports the following terminal control characters:
- CRTL + A—moves cursor to start of the command line
- CRTL + E—moves cursor to end of the command line
- ↑ (up arrow key)—repeats the last command
- TAB—completes a partially typed command
- To terminate the SSH session, type exit from the terminal window prompt, and press Enter.
- Click in the top right corner of the terminal window to close the window.

