Fix startup script: use ssh-start instead of ssh-server-start

Fixes command name in start_services.sh:
- ssh-server-start → ssh-start (correct CLI command)

Verified by running:
  cargo run --bin markbase-core -- --help | grep ssh
This commit is contained in:
Warren
2026-06-24 11:43:35 +08:00
parent ffc09b97bb
commit dc217e8903

View File

@@ -78,7 +78,7 @@ echo "=== Starting SSH Server (Port $PORT_SSH) ==="
if check_port $PORT_SSH; then
echo "${YELLOW}Port $PORT_SSH already in use${NC}"
else
cargo run --bin markbase-core -- ssh-server-start --port $PORT_SSH --root "$ROOT_DIR" --auth-db "$AUTH_DB" > "$LOG_DIR/ssh.log" 2>&1 &
cargo run --bin markbase-core -- ssh-start --port $PORT_SSH --root "$ROOT_DIR" --auth-db "$AUTH_DB" > "$LOG_DIR/ssh.log" 2>&1 &
sleep 2
if check_port $PORT_SSH; then
echo "${GREEN}SSH Server started${NC}"