# ShellScripts **Repository Path**: CloudBot/ShellScripts ## Basic Information - **Project Name**: ShellScripts - **Description**: ShellScripts - **Primary Language**: Shell - **License**: Zlib - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2023-04-07 - **Last Updated**: 2026-06-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SSH Remote 管理系统 > 懒得装什么远程工具了,直接cmd窗口连接 ## 1.使用方法 ### 1.1 remote_create_info.sh > 首先,创建一个远程信息表,json格式的 > > Usage: > > ​ remote_create_info.sh **-u** remote_user **-i** remote_ip **-p** remote_port **-r** remark > > Options: > > ​ -u|--username > ​ -i|--ip > ​ -p|--port > ​ -r|--remark > ​ -h|--help ``` # 命令演示 bash remote_create_info.sh -u root -i 192.168.66.66 -p 22 -r test-connect ``` ``` # 查看显示 cat ./remote_info.json [ { "remote_user": "root", "remote_ip": "192.168.66.66", "remote_port": "22", "remark": "test-connect" } ] ``` ### 1.2 remote_server.sh ``` # 直接执行 bash remote_server.sh ``` > 运行后的界面如下所示: ``` +---------------------------------------------------+ | 欢迎使用 SSH Remote 管理系统 | +---------------------------------------------------+ | 运行环境: Ubuntu 20.04 | | 系统时间: 2023-04-07 17:35:54 | +---------------------------------------------------+ ❖ test-connect 192.168.66.66 1 ) └─ Please enter the number you want to remote? : ```