项目介绍

FeeiCN/autossh 是一个托管在 GitHub 上的开源项目,主要使用 Shell 编写,目前获得 348 个 Star、127 次 Fork。

仓库全名
FeeiCN/autossh
Star 数
348
Fork 数
127
未关闭 Issue
9

README 摘要

AutoSSH Auto Login SSH Server (expect-based) Install Dependencies Install AutoSSH Config Example Usage OR OR Auto Sudo OR Bastion Host OR Auto Sudo With Bastion(JumpServer) Reference 免密登陆SSH

完整内容见 GitHub 原始 README 或本页 。

常见问题

autossh 用什么语言开发?

主要使用 Shell 编写,目前有 348 个 Star。

如何获取 autossh 的源码?

可以直接克隆仓库:git clone https://github.com/FeeiCN/autossh.git,默认分支为 master;安装与运行步骤见仓库 README。

autossh 最近还在维护吗?

仓库最近一次更新为 2019年11月11日,当前有 9 个未关闭 Issue;Star 数为 348,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Password-free automatic login SSH(免密登陆SSH)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
603
价值分
246
活跃状态
归档

语言占比

Shell

Release

README

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

评论

暂无评论