<h1>SSH-Server 2.0</h1>

![](https://img.shields.io/badge/SpringShell-3.0.0-brightgreen.svg?style=plastic)

#### 简介
`SSH-Server`是`Opscloud4`项目中的`SSH`服务模块，支持标准的ssh连接


#### 集群架构
```mermaid
flowchart LR
    A[User] -->|SSH:22| B{SLB}
    B-->|TCP:2222| C[Opscloud Server] 
    B-->|TCP:2222| D[Opscloud Server] 
```

#### 如何上传文件到服务器
+ 工具地址 https://fe.chuanyinet.com/upload
+ 使用Web工具上传文件后可以得到下载地址

#### Generate an SSH key pair

>Type ssh-keygen -t followed by the key type and an optional comment.This comment is included in the .pub file that's created.You may want to use an email address for the comment.

+ For example, for ED25519:
```
$ ssh-keygen -t ed25519 -C "${email}"
```

+ For 2048-bit RSA:
```
$ ssh-keygen -t rsa -b 2048 -C "${email}"
```