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:
@@ -78,7 +78,7 @@ echo "=== Starting SSH Server (Port $PORT_SSH) ==="
|
|||||||
if check_port $PORT_SSH; then
|
if check_port $PORT_SSH; then
|
||||||
echo "${YELLOW}Port $PORT_SSH already in use${NC}"
|
echo "${YELLOW}Port $PORT_SSH already in use${NC}"
|
||||||
else
|
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
|
sleep 2
|
||||||
if check_port $PORT_SSH; then
|
if check_port $PORT_SSH; then
|
||||||
echo "${GREEN}SSH Server started${NC}"
|
echo "${GREEN}SSH Server started${NC}"
|
||||||
|
|||||||
Reference in New Issue
Block a user