How to use the ssh key to log in at MobaXterm

Open after download and install the software. If according to the majority of online tutorials mentioned directly in the session configuration error occurs, it is because the public and private keys are not used.

Here you can use the following method to work.

First, the basic configuration parameters, setting-> general, configure home and root path (as their new folder path).

Note that both folders are empty at this time. The software then prompts restart.

 

Later opened again, the local terminal connected to the input remote ssh command, eg: ssh [email protected] -p 22

This step above .ssh folder is automatically created for the file you just created in the home folder. At this home is no longer an empty folder.

Copies of public and private key to .ssh file folder under the home folder.

Re-enter the command to the remote connection local terminal. When prompted, enter the password to connect.

 

After completing the above steps, you can use the session, but want to check use private key in the session, ssh, advanced ssh setting in.
----------------
Disclaimer: This article is the original article CSDN bloggers "Li Fugui zz", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and link this statement.
Original link: https: //blog.csdn.net/a731958631/article/details/81912057

Published 99 original articles · won praise 17 · views 220 000 +

Guess you like

Origin blog.csdn.net/xztjhs/article/details/104066180