当前位置:网站首页>How to view, modify, and delete SSH

How to view, modify, and delete SSH

2022-06-12 17:06:00 Tancy.


This is a supplementary blog , Main article in here


see SSH

CentOS 7 and Ubuntu18.04
stay /root/.ssh Under the table of contents , Pictured
 Insert picture description here
This is configured SSH The catalog of

Four files mean
authorized_keys : Store the public key of the authorized password free login host
id_rsa : Private key
id_ras.pub: Public key
know_host: Record ssh The public key of the accessed host (public key)

Delete SSH

Directly delete all files in this directory
/root/.ssh rm -rf ./*
Then reconfigure

To configure SSH operation , spot here

modify SSH

If you want to delete the access permission of a machine ( Take back the key )
You can visit authorized_keys Delete the corresponding contents of the file

原网站

版权声明
本文为[Tancy.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206121645445718.html