mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
pikvm/pikvm#107: change ssh port in pikvm.txt
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user