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