ssh_manager
所属分类:系统/网络安全
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-09-12 10:31:44
上 传 者:
sh-1993
说明: ssh管理器,,
(ssh manager,,)
文件列表:
.env.sampel (78, 2023-09-16)
.eslintrc.json (191, 2023-09-16)
.prettierrc.js (85, 2023-09-16)
.vscode/ (0, 2023-09-16)
.vscode/tasks.json (259, 2023-09-16)
package.json (1122, 2023-09-16)
src/ (0, 2023-09-16)
src/index.ts (1084, 2023-09-16)
src/models/ (0, 2023-09-16)
src/models/User.ts (535, 2023-09-16)
tsconfig.json (459, 2023-09-16)
# SSH User Management Telegram Bot
This bot allows you to create or delete (edit functionality will be added in future) your server users which can be accessed over SSH.
This can be useful for people who want to create SSH users solely for the purpose of tunneling and using it as a VPN.
## Usage
1- Clone this repository on your server using git:
```bash
git clone https://github.com/tiredPigeon/ssh_manager.git
```
2- Use your desire package manager to install node packages:
```bash
# if you are using yarn
yarn
# if you are using npm
npm i
# if you are using pnpm
pnpm i
```
3- Edit `.env.example` with the right credentials and info, then rename it to `.env`
4- Run the project with the `start` command:
```bash
# if you are using yarn
yarn start
# if you are using npm
npm start
# if you are using pnpm
pnpm start
```
### Client Usage
- Phone
You can use your created users in apps like `NapsternetV` on your phone to use it as a VPN (SSH-Direct method).
- [Android](https://play.google.com/store/apps/details?id=com.napsternetlabs.napsternetv)
- [iOS](https://apps.apple.com/us/app/napsternetv/id1629465476)
- PC
On your PC, using `-TND port_number` with your ssh connection would host a socks5 server with the specified port, example:
```bash
ssh 'user@hostname_or_ip' -TND 8080
```
This would create a socks5 on your machine, locally, with the specified port of `8080` to be used however you like
#### Support
Nothing, just leave a star if you like
近期下载者:
相关文件:
收藏者: