此内容没有您所选择的语言版本。
Chapter 22. ssh
22.1. ssh:ssh 复制链接链接已复制到粘贴板!
22.1.1. Description 复制链接链接已复制到粘贴板!
Connects to a remote SSH server
22.1.2. Syntax 复制链接链接已复制到粘贴板!
ssh:ssh [options] hostname [command]
22.1.3. Arguments 复制链接链接已复制到粘贴板!
| Name | Description |
|---|---|
| hostname | The host name to connect to via SSH |
| command | Optional command to execute |
22.1.4. Options 复制链接链接已复制到粘贴板!
| Name | Description |
|---|---|
| --help | Display this help message |
| -P, --password | The password for remote login |
| -p, --port | The port to use for SSH connection |
| -q | Quiet Mode. Do not ask for confirmations |
| -r, --retries | retry connection establishment (up to attempts times) |
| -l, --username | The user name for remote login |
| -k, --keyfile | The private keyFile location when using key login, need have BouncyCastle registered as security provider using this flag |
22.2. ssh:sshd 复制链接链接已复制到粘贴板!
22.2.1. Description 复制链接链接已复制到粘贴板!
Creates a SSH server
22.2.2. Syntax 复制链接链接已复制到粘贴板!
ssh:sshd [options]
22.2.3. Options 复制链接链接已复制到粘贴板!
| Name | Description |
|---|---|
| --help | Display this help message |
| -b, --background | The service will run in the background |
| -p, --port | The port to setup the SSH server |
| -i, --idle-timeout | The session idle timeout in milliseconds |
| -w, --welcome-banner | The welcome banner to display when logging in |
| -n, --nio-workers | The number of NIO worker threads to use |