mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +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
|
||||
|
||||
|
||||
# ========== 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 ==========
|
||||
|
||||
# Set the regulatory domain for wifi, if defined.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user