fix: security

This commit is contained in:
200mill
2026-07-04 03:05:21 +09:00
parent 45554836d8
commit de09d628ed
2 changed files with 111 additions and 14 deletions

View File

@@ -101,7 +101,7 @@ struct ShellArgs {
#[derive(Args, Debug)]
struct ServeSshArgs {
session: String,
#[arg(short = 'h', long, default_value = "127.0.0.1")]
#[arg(short = 'H', long, default_value = "127.0.0.1")]
listen_host: String,
#[arg(short = 'p', long, default_value_t = 2222)]
listen_port: u16,