惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

Rat's Blog - ssh

Linux VPS安装Google Authenticator实现SSH登陆二次验证 - Rat's Blog Xshell 6官方永久免费版,可解决评估期已过的提示问题 - Rat's Blog 一款全新且强大的SSH客户端:FinalShell - Rat's Blog 一款非常好用的Web端SSH工具:GateOne安装教程 - Rat's Blog JuiceSSH/Termius:安卓/IOS平台上好用且免费的SSH客户端 - Rat's Blog 一个可以在浏览器上运行的SSH客户端:WebSSH2安装教程 - Rat's Blog Linux VPS服务器SSH端口一键修改脚本 - Rat's Blog 为Linux VPS配置SSH-KEY登录并禁用root密码 - Rat's Blog Ubuntu 安装Fail2ban服务来防止暴力破解FTP/SSH - Rat's Blog
SSH密钥安装器升级,一键安装VPS密钥安全登录 - Rat's Blog
博主: Rat's · 2017-10-27 · via Rat's Blog - ssh

说明:使用vps的基本都会有被扫描的情况,可参考:通过Auth.log来查看VPS服务器是否被扫描和暴力破解。一般我们都会修改SSH端口来防止这种事发生,不过安全性更高的操作当属使用密钥登录。之前分享过一个教程,参考:为Linux VPS配置SSH-KEY登录并禁用root密码,感觉有点麻烦,这里分享个由KiritoMiao大佬制作的一键安装脚本,安装很快。

前言

有大佬说可以读Github帐号的公钥,可以不需要再fork修改了(据说可以支持多个公钥,未测试)。

使用

首先准备SSH KeyGithub账号。SSH Key配置方法参考:https://www.moerats.com/archives/229/

然后前往:https://github.com/settings/keys登记你的公钥

再用服务器运行以下命令:

wget https://raw.githubusercontent.com/KiritoMiao/SSHKEY_Installer/master/key.sh
bash key.sh [你的Github用户名]

完成后,就可以使用密钥登入了(同时会关闭密码登入提高安全性)。

原文地址:SSH 密钥安装器升级


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/381/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。