mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
pikvm/pikvm#107: change ssh port in pikvm.txt
This commit is contained in:
parent
7c9405459e
commit
10e6e53006
@ -73,6 +73,13 @@ if [ -n "$FIRSTBOOT" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# ========== SSH ==========
|
||||||
|
|
||||||
|
if [ -n "$SSH_PORT" ]; then
|
||||||
|
sed -i -e "s/^\s*#*\s*Port\s\+.*$/Port $SSH_PORT/g" /etc/ssh/sshd_config
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ========== Wi-Fi ==========
|
# ========== Wi-Fi ==========
|
||||||
|
|
||||||
# Set the regulatory domain for wifi, if defined.
|
# Set the regulatory domain for wifi, if defined.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user