Skip to content

Mac OS和Linux上的命令行ssh管理工具,支持同时操作多台服务器

Notifications You must be signed in to change notification settings

samblabla/myssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myssh

Mac OS和Linux上的命令行ssh管理工具

  • ssh登录服务器

  • 操作多台服务器执行非交互性的指令
  • 同步多台服务器文件

安装

1.必须安装pip

python setup.py build
python setup.py install

2.解压进入sshpass,编译安装sshpass

./configure
make &&make install

服务器配置

编辑服务器配置文件(文件在 ~/.myssh/myssh.yml)

myssh edit

如果运行myssh时出现这个错误 UnicodeEncodeError: 'ascii' codec can't encode characters

在~/.bash_profile中添加 export PYTHONIOENCODING=UTF-8

License

Apache License Version 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html

About

Mac OS和Linux上的命令行ssh管理工具,支持同时操作多台服务器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages