1 Star 4 Fork 7

lonecloud / ssh-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

ssh-tools

releaseLicense

一款为方便mac以及类unix使用ssh以及ssh跳板机的一个shell小工具

使用说明:

  1. 克隆或者下载该项目
git clone git@github.com:lonecloud/ssh-tools.git
  1. 配置ssh.dat

说明一下这几个的参数

  1. 机器类型范围值:0 直接连接机器,1. 跳板机 2.目标机
  2. ssh中的用户名以及IP(设置端口,非必填): eg:username@ip [:port]
  3. 密码
  4. 备注,非必填选项
0 root@192.168.209.10:2315 123456 这个是直连机器
1 root@192.168.209.11 123456 这个是跳板机器
2 root@192.168.209.12:223 123456 这个是通过跳板后的目标机器
0 root@192.168.209.13 123456

操作指引图片:

直连:

直连操作

跳板机:

跳板机

iterm2配置:

⌘ + o 打开配置文件

iterm2

设置好相应的信息即可

⌘ + o 打开配置文件

iterm2

双击配置文件即可打开!

iterm2

未待完续,欢迎Fork and star

github地址:https://github.com/lonecloud/ssh-tools

码云地址:https://gitee.com/lonecloud/ssh-tools

欢迎大家提出宝贵的意见以及建议,请大家在issue提出哈

# ssh-tools ![](https://img.shields.io/badge/lanauage-%E4%B8%AD%E6%96%87-brightgreen.svg)[![](https://img.shields.io/badge/platform-linux/MacOS-brightgreen.svg)]()[![release](https://img.shields.io/badge/release-v0.1-orange.svg)](<https://github.com/lonecloud/ssh-tools/releases>)[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) > 一款为方便mac以及类unix使用ssh以及ssh跳板机的一个shell小工具 使用说明: 1. 克隆或者下载该项目 ```bash git clone git@github.com:lonecloud/ssh-tools.git ``` 2. 配置ssh.dat 说明一下这几个的参数 1. 机器类型范围值:0 直接连接机器,1. 跳板机 2.目标机 2. ssh中的用户名以及IP(设置端口,非必填): eg:username@ip [:port] 3. 密码 4. 备注,非必填选项 ```bash 0 root@192.168.209.10:2315 123456 这个是直连机器 1 root@192.168.209.11 123456 这个是跳板机器 2 root@192.168.209.12:223 123456 这个是通过跳板后的目标机器 0 root@192.168.209.13 123456 ``` 操作指引图片: 直连: ![直连操作](images/1541678825141.gif) 跳板机: ![跳板机](images/1541679098732.gif) iterm2配置: ⌘ + o 打开配置文件 ![iterm2](images/Xnip2019-07-12_00-47-14.jpg) 设置好相应的信息即可 ⌘ + o 打开配置文件 ![iterm2](images/Xnip2019-07-12_00-53-08.jpg) 双击配置文件即可打开! ![iterm2](images/Xnip2019-07-12_01-13-51.jpg) ## 未待完续,欢迎Fork and star github地址:https://github.com/lonecloud/ssh-tools 码云地址:https://gitee.com/lonecloud/ssh-tools 欢迎大家提出宝贵的意见以及建议,请大家在issue提出哈

简介

该脚本方便Linux以及类Unix机器使用的一个脚本,方便进行ssh登录 展开 收起
Shell
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/lonecloud/ssh-tools.git
git@gitee.com:lonecloud/ssh-tools.git
lonecloud
ssh-tools
ssh-tools
master

搜索帮助