Ssh
Ubuntu Server 安装 Mosh
·321 字·1 分钟
代码
Mosh
Ubuntu
Server
Vps
Ssh
Mosh
Mosh 是一款基于 UDP 的远程连接工具,支持跨平台使用。服务端和客户端安装均通过 sudo apt install mosh 命令完成,Ubuntu 用户也可选择 Termius 管理多台服务器。手机端推荐 JuiceSSH 或 Termux(安卓)以及 Blink Shell(iOS)。使用前需在防火墙开放 UDP 端口(默认 60001),云服务器还需配置安全组。
SSH Google Authenticator
·323 字·1 分钟
代码
Ssh-Google-Authenticator
Ubuntu
Google
Ssh
Two Factor
Authenticator
通过 Google Authenticator 为 SSH 登录添加双重验证,提升安全性并更换默认端口。适用于 Ubuntu 系统,步骤包括安装 OpenSSH 和 Google Authenticator、生成密钥、配置手机应用、修改 PAM 和 SSH 配置文件,最后重启服务。使用 Authy 等应用扫描二维码即可获取动态验证码。
Web 版 SSH Gateone
·608 字·2 分钟
代码
Gateone
Nginx
Gateone
Ssh
Web
Shell
Nginx 配置 SSL 证书并安装 Gateone,通过源码或 deb 包安装后修改配置文件,设置端口、证书路径等参数,最后通过 Nginx 代理实现 HTTPS 访问 Gateone 服务。