Got it

SSH public key

362 0 1 0

Method of generating a hexadecimal public key in Stelnet ssh/rsa authentication mode

 

1. Generating a key

 

It needs to be generated on your own terminal.

 

Run the following command. The default generation location is ~/.ssh.

 

ssh-keygen -t rsa -b 1024 -f yourkeyname -c "comment"

 

Parameter Description:

-b  the length of the key pair, b=bits, and a maximum of 4096.

-t   encryption mode. t=type

-f   File name, f=output_keyfiles

-c  comment

 

2. Public key conversion


Run the following command:

ssh-keygen -e -m pem -f ~/.ssh/id_rsa.pub | egrep -v "BEGIN|END" | base64 -d | od -t x1 -An -w4 | tr 'a-f' 'A-F' | tr -d ' ' | fmt -w 48

ssh


3. Configuration on the switch

ssh

  • 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 " Privacy."

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.