feko2018 / bashjumper

bashjumper是一个基于linux bash的命令行下的超轻量跳板机。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bashjumper介绍

  • bashjumper是一个基于linux bash的命令行下的超轻量的跳板机。
  • 1.只支持key连接服务器,不支持密码连接
  • 2.连接的key,默认/root/.ssh/id_rsa ,用户默认root

bashjumper使用方法

安装

git clone https://github.com/feko2018/bashjumper.git
cd bashjumper
chmod +x jump.sh
./jump.sh

添加平台和主机

保留第一行,安装这种模板来添加
[root@test-vm-002 bashjumper]# cat platform.txt 
#平台
4499
7878
[root@test-vm-002 bashjumper]# cat hosts.txt 
#主机名  平台   类型   主机ip           端口  备注
test-001 4499   web    192.168.31.170    22   web服务器
test-002 7878   web    192.168.31.161    22   无
test-003 7878   web    127.0.0.1         22  

bashjumper显示效果

首页

image

显示所有主机

image

显示所有平台

image

显示对应平台的主机页

image

About

bashjumper是一个基于linux bash的命令行下的超轻量跳板机。

License:Apache License 2.0


Languages

Language:Shell 100.0%