Got it

Querying and changing the SSH port number

Created: Sep 8, 2020 12:10:34Latest reply: Feb 23, 2022 05:14:20 373 10 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello team,

How do I query and change the SSH port number? Thanks.

Featured Answers

Recommended answer

little_fish
Admin Created Sep 8, 2020 12:20:10

Hello Lucas,

Please follow these 2 steps to query and change the SSH port number:

 Step 1 Use the CLI to log in to the storage array and run show system server_port server_name=SSH to query the SSH port number. The red box in Figure 1 shows an example of the SSH port number.

Figure 1 Querying the SSH port number

Querying the SSH port number


 Step 2 Use the CLI to log in to the storage array and run change system server_port server_name=SSH port_num=** to change the SSH port number, as shown in Figure 2. In the command, port_num indicates the new SSH port number that you want to use.

Figure 2 Changing the SSH port number

Changing the SSH port number


Thanks.


View more
  • x
  • convention:

All Answers
Dear,
Do you use CLI to log in?
View more
  • x
  • convention:

Lucas_Zhao
Lucas_Zhao Created Sep 8, 2020 12:12:39 (0) (0)
Yes.  
little_fish
little_fish Reply Lucas_Zhao  Created Sep 8, 2020 12:28:47 (0) (0)
Does this help you?  
Hello, Lucas_Zhao.
It's nice to meet you in the community.
We're working on getting the right answer for you. Please rest assured that we'll be back with an answer shortly.

View more
  • x
  • convention:

Lucas_Zhao
Lucas_Zhao Created Sep 8, 2020 12:12:56 (0) (0)
Thank you.  

Hello Lucas,

Please follow these 2 steps to query and change the SSH port number:

 Step 1 Use the CLI to log in to the storage array and run show system server_port server_name=SSH to query the SSH port number. The red box in Figure 1 shows an example of the SSH port number.

Figure 1 Querying the SSH port number

Querying the SSH port number


 Step 2 Use the CLI to log in to the storage array and run change system server_port server_name=SSH port_num=** to change the SSH port number, as shown in Figure 2. In the command, port_num indicates the new SSH port number that you want to use.

Figure 2 Changing the SSH port number

Changing the SSH port number


Thanks.


View more
  • x
  • convention:

GOOD
View more
  • x
  • convention:

Thank you for sharing
View more
  • x
  • convention:

user_4326135
user_4326135 Moderator Created Feb 22, 2022 08:45:05

Nice solution on how to query and change the SSH port number little_fish!
View more
  • x
  • convention:

Little fish has a great solution for querying and changing the SSH port number.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.