mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
add -J proxyjump option (#15)
This commit is contained in:
@@ -12,6 +12,9 @@ set -x
|
||||
echo "Port 22" >> /etc/ssh/sshd_config
|
||||
echo "Port 8022" >> /etc/ssh/sshd_config
|
||||
|
||||
## Alpine default sshd disables TcpForwarding, which is required for proxyjump test
|
||||
sed -i -e 's/AllowTcpForwarding no/AllowTcpForwarding yes/' /etc/ssh/sshd_config
|
||||
|
||||
# Run sshd
|
||||
if [ ! -e /var/run/sshd.pid ]; then
|
||||
/usr/sbin/sshd
|
||||
|
||||
Reference in New Issue
Block a user