feat!: use port 22
as the default instead of 2222
for ssh
This commit is contained in:
parent
d74f27ca83
commit
cc3d64ed8e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub struct Cli {
|
||||||
#[arg(short = 'H', long, value_name = "ADDRESS", default_value_t = String::from("127.0.0.1"))]
|
#[arg(short = 'H', long, value_name = "ADDRESS", default_value_t = String::from("127.0.0.1"))]
|
||||||
pub host: String,
|
pub host: String,
|
||||||
/// The port to start the SSH server on
|
/// The port to start the SSH server on
|
||||||
#[arg(short = 'P', long, value_name = "PORT", default_value_t = 2222)]
|
#[arg(short = 'P', long, value_name = "PORT", default_value_t = 22)]
|
||||||
pub ssh_port: u16,
|
pub ssh_port: u16,
|
||||||
/// The port to start the web server on
|
/// The port to start the web server on
|
||||||
#[arg(short = 'p', long, value_name = "PORT", default_value_t = 80)]
|
#[arg(short = 'p', long, value_name = "PORT", default_value_t = 80)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue