# Simple Tabby
A hepler tool to manage many remote ssh server.
when you open a native terminal on unix system , stabby can list all remote ssh server that you have configed as a pretty table. Then you can choose one to login.
You will get more infomation about every remote ssh server depend on what's your describe for the server
# Why
I just need a gadget for my work . In my work, i need to manage many remote server machines that deployed some application, such as java application,mysql and so on.
when i decided to connect some machines, I spend a lot of time checking which applications are deployed on each server
it's making me miserable. Tabby has wonderful **Profiles & connections** feature, but there no space to remark more information
for every machine or connection. I still need another document to manage information that can not hold with Tabby.
# Install
```shell
pip install stabby
```
# Usage
## add your first remote server config
run command `stabby add ` , follow promotes input server configuration , like below:
```shell
usage: stabby add [-h] -s S -p P [-port PORT] [-u U] [-n N]
optional arguments:
-h, --help show this help message and exit
-s S remote server host
-p P remote server password
-port PORT remote server ssh port
-u U remote server user name
-n N remote server name
```
example :
```shell
stabby add -s 192.168.1.253 -p password123 -n dev
```
## connect to remote server
run command `stabby` ,you can see as below:
![image](./docs/1684896760610.jpg)
you can select one remote server that you have added to connect by **KEY_UP** 、**KEY_DOWN** or **KEY_LEFT** 、**KEY_RIGHT**
as you also can open ssh tunnue with `-t` command arg ,for example:
```shell
# stabby -t localport:remoteport
stabby -t 6041:5041
```
# How does it work
It's so easy. Default , stabby(simple_tabby) loads config file under `$USER_HOME/.simple_tabby/default.json`, file content like below:
```json
[
{
"title": "title for remote server",
"host": "remote server ip or host",
"port": 22,
"user": "remote user ,default is root",
"password": "remote password",
}
]
```
when stabby is running, it loads file as json objects,let user can see all server
![](docs/1684896760610.jpg)
Raw data
{
"_id": null,
"home_page": "https://github.com/Booooooger/simple_tabby",
"name": "stabby",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "terminal,ssh,tabby like",
"author": "yombo",
"author_email": "yombo@qq.com",
"download_url": "https://files.pythonhosted.org/packages/ca/88/d460fd5658ff35381160c7c59febef2ae4a6922d7ec34d585e3f33248f4d/stabby-1.0.4.tar.gz",
"platform": null,
"description": "# Simple Tabby\n\nA hepler tool to manage many remote ssh server.\n\nwhen you open a native terminal on unix system , stabby can list all remote ssh server that you have configed as a pretty table. Then you can choose one to login.\n\nYou will get more infomation about every remote ssh server depend on what's your describe for the server \n\n# Why\n\nI just need a gadget for my work . In my work, i need to manage many remote server machines that deployed some application, such as java application,mysql and so on.\nwhen i decided to connect some machines, I spend a lot of time checking which applications are deployed on each server\nit's making me miserable. Tabby has wonderful **Profiles & connections** feature, but there no space to remark more information\nfor every machine or connection. I still need another document to manage information that can not hold with Tabby.\n\n# Install\n\n```shell\npip install stabby\n```\n\n# Usage\n\n## add your first remote server config \nrun command `stabby add ` , follow promotes input server configuration , like below:\n```shell\nusage: stabby add [-h] -s S -p P [-port PORT] [-u U] [-n N] \n \noptional arguments: \n -h, --help show this help message and exit \n -s S remote server host \n -p P remote server password \n -port PORT remote server ssh port \n -u U remote server user name \n -n N remote server name \n```\nexample :\n```shell\nstabby add -s 192.168.1.253 -p password123 -n dev\n```\n\n## connect to remote server\n\nrun command `stabby` ,you can see as below:\n\n![image](./docs/1684896760610.jpg)\n\nyou can select one remote server that you have added to connect by **KEY_UP** \u3001**KEY_DOWN** or **KEY_LEFT** \u3001**KEY_RIGHT** \n\nas you also can open ssh tunnue with `-t` command arg ,for example:\n```shell\n# stabby -t localport:remoteport\nstabby -t 6041:5041\n```\n\n# How does it work\n\nIt's so easy. Default , stabby(simple_tabby) loads config file under `$USER_HOME/.simple_tabby/default.json`, file content like below:\n\n```json\n[\n {\n \"title\": \"title for remote server\",\n \"host\": \"remote server ip or host\",\n \"port\": 22,\n \"user\": \"remote user ,default is root\",\n \"password\": \"remote password\",\n }\n]\n```\n\nwhen stabby is running, it loads file as json objects,let user can see all server\n![](docs/1684896760610.jpg)\n",
"bugtrack_url": null,
"license": "",
"summary": "A helper for ssh operate in terminal",
"version": "1.0.4",
"project_urls": {
"Homepage": "https://github.com/Booooooger/simple_tabby"
},
"split_keywords": [
"terminal",
"ssh",
"tabby like"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a690fa0b6a8b29b4448e4ccf7c101953ec6cb20a615e75f05d53eebf9a157ab8",
"md5": "9619b74cdff32ed8850b4f1a5fda6c7c",
"sha256": "c684fb06b94b0640ebe82acc7accc834f40efc9bdc92f2468e4c665a4f1d5f2b"
},
"downloads": -1,
"filename": "stabby-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9619b74cdff32ed8850b4f1a5fda6c7c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4537,
"upload_time": "2023-05-24T10:03:21",
"upload_time_iso_8601": "2023-05-24T10:03:21.057423Z",
"url": "https://files.pythonhosted.org/packages/a6/90/fa0b6a8b29b4448e4ccf7c101953ec6cb20a615e75f05d53eebf9a157ab8/stabby-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca88d460fd5658ff35381160c7c59febef2ae4a6922d7ec34d585e3f33248f4d",
"md5": "04de04981e873fac2f875d0659bad621",
"sha256": "606bc338dbeda1819b67f60353971cc0bf946e7854b8b5593d65d94c3ca40fc2"
},
"downloads": -1,
"filename": "stabby-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "04de04981e873fac2f875d0659bad621",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4213,
"upload_time": "2023-05-24T10:03:22",
"upload_time_iso_8601": "2023-05-24T10:03:22.098447Z",
"url": "https://files.pythonhosted.org/packages/ca/88/d460fd5658ff35381160c7c59febef2ae4a6922d7ec34d585e3f33248f4d/stabby-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-24 10:03:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Booooooger",
"github_project": "simple_tabby",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pyperclip",
"specs": [
[
"==",
"1.8.2"
]
]
},
{
"name": "simple-term-menu",
"specs": [
[
"==",
"1.6.1"
]
]
}
],
"lcname": "stabby"
}