Autossh
Password-free automatic login SSH(免密登陆SSH)
Install / Use
/learn @FeeiCN/AutosshREADME
AutoSSH
Auto Login SSH Server (expect-based)
Install Dependencies
Linux
yum install expect
apt-get install expect
Install AutoSSH
$ git clone https://github.com/FeeiCN/autossh.git
$ sudo cp autossh/autossh /usr/local/bin/
Config
$ cat ~/.autosshrc
server_name|192.168.1.110|root|password|port|is_bastion
Example
$ cat ~/.autosshrc
wufeifei|192.168.1.1|root|password|22|1
Usage
$ autossh
############################################################
# [AUTO SSH] #
# #
# #
# [1] 192.168.1.110:feei #
# [2] 10.11.2.103:root #
# [3] 103.21.140.84:root #
# #
# #
############################################################
Server Number:(Input Server Num)
OR
$ autossh 1
OR Auto Sudo
$ autossh 3 sudo
OR Bastion Host
$ autossh 1 10.12.0.123
OR Auto Sudo With Bastion(JumpServer)
$ autossh 1 10.11.0.123 sudo
Reference
Related Skills
node-connect
354.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
