SSH to Connect to Junos CLI Flashcards

1
Q

What is SSH used for in Junos OS?

A

SSH (Secure Shell) is used to securely connect to a Junos device for remote management and configuration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you enable SSH on a Junos device?

A

SSH is enabled using the command set system services ssh in configuration mode, followed by a commit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the default port used by SSH in Junos OS?

A

The default port for SSH is port 22.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you check if SSH is running on a Junos device?

A

You can check SSH status using the command show system services ssh.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command is used to generate SSH keys in Junos OS?

A

The ssh-keygen command is used to generate SSH key pairs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you access the Junos CLI remotely using SSH?

A

You use an SSH client and provide the device’s IP address, followed by the username and password.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command is used to terminate an SSH session in Junos OS?

A

You can terminate the session by typing exit or logout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of the SSH public and private key pair in Junos OS?

A

The public key is stored on the Junos device, while the private key is stored on the client for secure, passwordless login.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you configure user access for SSH login in Junos OS?

A

User access is configured in the system login stanza, specifying usernames and permissions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can you restrict SSH access to certain IP addresses in Junos OS?

A

You can restrict SSH access by configuring firewall filters or by specifying source IP addresses in the set system services ssh command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly