mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Update upgrade_openssh9.8p1.sh
This commit is contained in:
parent
49bfe98da4
commit
e2d6b1d25a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 设置OpenSSH的版本号
|
||||
OPENSSH_VERSION="10.0p1"
|
||||
OPENSSH_VERSION=$(curl -s https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/ | grep -oP 'openssh-\K[0-9]+\.[0-9]+p[0-9]+' | sort -V | tail -n 1)
|
||||
|
||||
|
||||
# 检测系统类型
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue