最新资讯

  • 【运维】统信UOS操作系统aarch64自制OpenSSH 9.6p1 rpm包(含ssh-copy-id命令)修复漏洞

【运维】统信UOS操作系统aarch64自制OpenSSH 9.6p1 rpm包(含ssh-copy-id命令)修复漏洞

2025-06-23 15:38:36 69 阅读

为修复如下OpenSSH漏洞,openssh从8.2升级至9.6,然而并未找到统信9.6的rpm源,所以自己动手制作,折腾了一天,在此记录一下

一、准备工作

1、检查版本

cat /etc/os-release

uname -a


如图当前环境为aarch64架构,在其中一台制作rpm包,之后传到别的服务器执行安装即可

2、rpmbuild构建工具安装

# 安装RPM构建工具和依赖
yum install -y rpm-build rpmdevtools wget gcc make zlib-devel openssl-devel pam-devel libXt-devel libX11-devel

设置 RPM 构建环境:

# 创建RPM构建目录结构
rpmdev-setuptree

3、下载源码和准备.spec 文件

# 下载OpenSSH源码
wget -P ~/rpmbuild/SOURCES https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.6p1.tar.gz
# 备用,与上面一样的
wget -P ~/rpmbuild/SOURCES https://mirrors.aliyun.com/pub/OpenBSD/OpenSSH/portable/openssh-9.6p1.tar.gz

# 获取最新的OpenSSH spec文件,这个不一定好使,可以试着自己改一下,下面我提供一个修改好的,可以直接用
wget -O ~/rpmbuild/SPECS/openssh.spec https://src.fedoraproject.org/rpms/openssh/raw/rawhide/f/openssh.spec

# 下载x11-ssh-askpass源码,这个rpm包里是不需要的,但是没有会报错
wget -P ~/rpmbuild/SOURCES https://src.fedoraproject.org/repo/pkgs/openssh/x11-ssh-askpass-1.2.4.1.tar.gz

3.1、openssh.spec配置修改

vim /root/rpmbuild/SPECS/openssh.spec

主要关注修改版本,禁用no_x11_askpass

新版的openssh源码里面编译安装,已经将ssh-copy-id命令放到了子目录contrib,但是不会默认安装,而此命令在使用中比较实用,比如各主机之间的免密认证

install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT/usr/bin/ssh-copy-id 

%attr(0755,root,root) %{_bindir}/ssh-copy-id

3.2、openssh.spec(已修改验证好的)

如下为验证过的统信aarch64架构版本的openssh.spec,可以直接复制使用

vim /root/rpmbuild/SPECS/openssh.spec
%global ver 9.6p1
%global rel 1%{?dist}
 
# OpenSSH privilege separation requires a user & group ID
%global sshd_uid    74
%global sshd_gid    74
 
# Version of ssh-askpass
%global aversion 1.2.4.1
 
# Do we want to disable building of x11-askpass? (1=yes 0=no)
%global no_x11_askpass 1
 
# Do we want to disable building of gnome-askpass? (1=yes 0=no)
%global no_gnome_askpass 1
 
# Do we want to link against a static libcrypto? (1=yes 0=no)
%global static_libcrypto 0
 
# Do we want smartcard support (1=yes 0=no)
%global scard 0
 
# Use GTK2 instead of GNOME in gnome-ssh-askpass
%global gtk2 1
 
# Use build6x options for older RHEL builds
# RHEL 7 not yet supported
%if 0%{?rhel} > 6
%global build6x 0
%else
%global build6x 1
%endif
 
%if 0%{?fedora} >= 26
%global compat_openssl 1
%else
%global compat_openssl 0
%endif
 
# Do we want kerberos5 support (1=yes 0=no)
%global kerberos5 1
 
# Reserve options to override askpass settings with:
# rpm -ba|--rebuild --define 'skip_xxx 1'
%{?skip_x11_askpass:%global no_x11_askpass 1}
%{?skip_gnome_askpass:%global no_gnome_askpass 1}
 
# Add option to build without GTK2 for older platforms with only GTK+.
# RedHat <= 7.2 and Red Hat Advanced Server 2.1 are examples.
# rpm -ba|--rebuild --define 'no_gtk2 1'
%{?no_gtk2:%global gtk2 0}
 
# Is this a build for RHL 6.x or earlier?
%{?build_6x:%global build6x 1}
 
# If this is RHL 6.x, the default configuration has sysconfdir in /usr/etc.
%if %{build6x}
%global _sysconfdir /etc
%endif
 
# Options for static OpenSSL link:
# rpm -ba|--rebuild --define "static_openssl 1"
%{?static_openssl:%global static_libcrypto 1}
 
# Options for Smartcard support: (needs libsectok and openssl-engine)
# rpm -ba|--rebuild --define "smartcard 1"
%{?smartcard:%global scard 1}
 
# Is this a build for the rescue CD (without PAM)? (1=yes 0=no)
%global rescue 0
%{?build_rescue:%global rescue 1}
 
# Turn off some stuff for resuce builds
%if %{rescue}
%global kerberos5 0
%endif
 
Summary: The OpenSSH implementation of SSH protocol version 2.
Name: openssh
Version: %{ver}
%if %{rescue}
Release: %{rel}rescue
%else
Release: %{rel}
%endif
URL: https://www.openssh.com/portable.html
Source0: https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
Source1: http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
License: BSD
Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: ssh < %{ver}
%if %{build6x}
Requires(pre): initscripts >= 5.00
%else
Requires: initscripts >= 5.20
%endif
BuildRequires: perl
%if %{compat_openssl}
BuildRequires: compat-openssl10-devel
%else
BuildRequires: openssl-devel >= 1.0.1
#BuildRequires: openssl-devel < 1.1
%endif
BuildRequires: /bin/login
%if ! %{build6x}
BuildRequires: glibc-devel, pam
%else
BuildRequires: /usr/include/security/pam_appl.h
%endif
%if ! %{no_x11_askpass}
BuildRequires: /usr/include/X11/Xlib.h
# Xt development tools
BuildRequires: libXt-devel
# Provides xmkmf
BuildRequires: imake
# Rely on relatively recent gtk
BuildRequires: gtk2-devel
%endif
%if ! %{no_gnome_askpass}
BuildRequires: pkgconfig
%endif
%if %{kerberos5}
BuildRequires: krb5-devel
BuildRequires: krb5-libs
%endif
 
%package clients
Summary: OpenSSH clients.
Requires: openssh = %{version}-%{release}
Group: Applications/Internet
Obsoletes: ssh-clients < %{ver}
 
%package server
Summary: The OpenSSH server daemon.
Group: System Environment/Daemons
Obsoletes: ssh-server < %{ver}
Requires: openssh = %{version}-%{release}, chkconfig >= 0.9
%if ! %{build6x}
Requires: /etc/pam.d/system-auth
%endif
 
%package askpass
Summary: A passphrase dialog for OpenSSH and X.
Group: Applications/Internet
Requires: openssh = %{version}-%{release}
Obsoletes: ssh-extras < %{ver}
 
%package askpass-gnome
Summary: A passphrase dialog for OpenSSH, X, and GNOME.
Group: Applications/Internet
Requires: openssh = %{version}-%{release}
Obsoletes: ssh-extras < %{ver}
 
%description
SSH (Secure SHell) is a program for logging into and executing
commands on a remote machine. SSH is intended to replace rlogin and
rsh, and to provide secure encrypted communications between two
untrusted hosts over an insecure network. X11 connections and
arbitrary TCP/IP ports can also be forwarded over the secure channel.
 
OpenSSH is OpenBSD's version of the last free version of SSH, bringing
it up to date in terms of security and features, as well as removing
all patented algorithms to separate libraries.
This package includes the core files necessary for both the OpenSSH
client and server. To make this package useful, you should also
install openssh-clients, openssh-server, or both.
%description clients
OpenSSH is a free version of SSH (Secure SHell), a program for logging
into and executing commands on a remote machine. This package includes
the clients necessary to make encrypted connections to SSH servers.
You'll also need to install the openssh package on OpenSSH clients.
 
%description server
OpenSSH is a free version of SSH (Secure SHell), a program for logging
into and executing commands on a remote machine. This package contains
the secure shell daemon (sshd). The sshd daemon allows SSH clients to
securely connect to your SSH server. You also need to have the openssh
package installed.
 
%description askpass
OpenSSH is a free version of SSH (Secure SHell), a program for logging
into and executing commands on a remote machine. This package contains
an X11 passphrase dialog for OpenSSH.
 
%description askpass-gnome
OpenSSH is a free version of SSH (Secure SHell), a program for logging
into and executing commands on a remote machine. This package contains
an X11 passphrase dialog for OpenSSH and the GNOME GUI desktop
environment.
 
%prep
 
%if ! %{no_x11_askpass}
%setup -q -a 1
%else
%setup -q
%endif
 
%build
%if %{rescue}
CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
%endif
 
%configure 
	--sysconfdir=%{_sysconfdir}/ssh 
	--libexecdir=%{_libexecdir}/openssh 
	--datadir=%{_datadir}/openssh 
	--with-default-path=/usr/local/bin:/bin:/usr/bin 
	--with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 
	--with-privsep-path=%{_var}/empty/sshd 
	--mandir=%{_mandir} 
	--with-mantype=man 
	--disable-strip 
%if %{scard}
	--with-smartcard 
%endif
%if %{rescue}
	--without-pam 
%else
	--with-pam 
%endif
%if %{kerberos5}
	 --with-kerberos5=$K5DIR 
%endif
 
 
%if %{static_libcrypto}
perl -pi -e "s|-lcrypto|%{_libdir}/libcrypto.a|g" Makefile
%endif
 
make
 
%if ! %{no_x11_askpass}
pushd x11-ssh-askpass-%{aversion}
%configure --libexecdir=%{_libexecdir}/openssh
xmkmf -a
make
popd
%endif
 
# Define a variable to toggle gnome1/gtk2 building.  This is necessary
# because RPM doesn't handle nested %if statements.
%if %{gtk2}
	gtk2=yes
%else
	gtk2=no
%endif
 
%if ! %{no_gnome_askpass}
pushd contrib
if [ $gtk2 = yes ] ; then
	make gnome-ssh-askpass2
	mv gnome-ssh-askpass2 gnome-ssh-askpass
else
	make gnome-ssh-askpass1
	mv gnome-ssh-askpass1 gnome-ssh-askpass
fi
popd
%endif
 
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh
mkdir -p -m755 $RPM_BUILD_ROOT%{_libexecdir}/openssh
mkdir -p -m755 $RPM_BUILD_ROOT%{_var}/empty/sshd
 
make install DESTDIR=$RPM_BUILD_ROOT
 
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh
%if %{build6x}
install -m644 contrib/redhat/sshd.pam     $RPM_BUILD_ROOT/etc/pam.d/sshd
%else
install -m644 contrib/redhat/sshd.pam     $RPM_BUILD_ROOT/etc/pam.d/sshd
%endif
install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT/usr/bin/ssh-copy-id
 
%if ! %{no_x11_askpass}
install x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass
ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass
%endif
 
%if ! %{no_gnome_askpass}
install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
%endif
 
%if ! %{scard}
	 rm -f $RPM_BUILD_ROOT/usr/share/openssh/Ssh.bin
%endif
 
%if ! %{no_gnome_askpass}
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
%endif
 
perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
 
%clean
rm -rf $RPM_BUILD_ROOT
 
%triggerun server -- ssh-server
if [ "$1" != 0 -a -r /var/run/sshd.pid ] ; then
	touch /var/run/sshd.restart
fi
 
%triggerun server -- openssh-server < 2.5.0p1
# Count the number of HostKey and HostDsaKey statements we have.
gawk	'BEGIN {IGNORECASE=1}
	 /^hostkey/ || /^hostdsakey/ {sawhostkey = sawhostkey + 1}
	 END {exit sawhostkey}' /etc/ssh/sshd_config
# And if we only found one, we know the client was relying on the old default
# behavior, which loaded the the SSH2 DSA host key when HostDsaKey wasn't
# specified.  Now that HostKey is used for both SSH1 and SSH2 keys, specifying
# one nullifies the default, which would have loaded both.
if [ $? -eq 1 ] ; then
	echo HostKey /etc/ssh/ssh_host_rsa_key >> /etc/ssh/sshd_config
	echo HostKey /etc/ssh/ssh_host_dsa_key >> /etc/ssh/sshd_config
fi
 
%triggerpostun server -- ssh-server
if [ "$1" != 0 ] ; then
	/sbin/chkconfig --add sshd
	if test -f /var/run/sshd.restart ; then
		rm -f /var/run/sshd.restart
		/sbin/service sshd start > /dev/null 2>&1 || :
	fi
fi
 
%pre server
%{_sbindir}/groupadd -r -g %{sshd_gid} sshd 2>/dev/null || :
%{_sbindir}/useradd -d /var/empty/sshd -s /bin/false -u %{sshd_uid} 
	-g sshd -M -r sshd 2>/dev/null || :
 
%post server
/sbin/chkconfig --add sshd
 
%postun server
/sbin/service sshd condrestart > /dev/null 2>&1 || :
 
%preun server
if [ "$1" = 0 ]
then
	/sbin/service sshd stop > /dev/null 2>&1 || :
	/sbin/chkconfig --del sshd
fi
 
%files
%defattr(-,root,root)
%doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* PROTOCOL* TODO
%attr(0755,root,root) %{_bindir}/scp
%attr(0644,root,root) %{_mandir}/man1/scp.1*
%attr(0755,root,root) %dir %{_sysconfdir}/ssh
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
%if ! %{rescue}
%attr(0755,root,root) %{_bindir}/ssh-keygen
%attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1*
%attr(0755,root,root) %dir %{_libexecdir}/openssh
%attr(4711,root,root) %{_libexecdir}/openssh/ssh-keysign
%attr(0755,root,root) %{_libexecdir}/openssh/ssh-pkcs11-helper
%attr(0755,root,root) %{_libexecdir}/openssh/ssh-sk-helper
%attr(0644,root,root) %{_mandir}/man8/ssh-keysign.8*
%attr(0644,root,root) %{_mandir}/man8/ssh-pkcs11-helper.8*
%attr(0644,root,root) %{_mandir}/man8/ssh-sk-helper.8*
%endif
%if %{scard}
%attr(0755,root,root) %dir %{_datadir}/openssh
%attr(0644,root,root) %{_datadir}/openssh/Ssh.bin
%endif
 
%files clients
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/ssh
%attr(0644,root,root) %{_mandir}/man1/ssh.1*
%attr(0644,root,root) %{_mandir}/man5/ssh_config.5*
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
%if ! %{rescue}
%attr(2755,root,nobody) %{_bindir}/ssh-agent
%attr(0755,root,root) %{_bindir}/ssh-add
%attr(0755,root,root) %{_bindir}/ssh-keyscan
%attr(0755,root,root) %{_bindir}/sftp
%attr(0755,root,root) %{_bindir}/ssh-copy-id
%attr(0644,root,root) %{_mandir}/man1/ssh-agent.1*
%attr(0644,root,root) %{_mandir}/man1/ssh-add.1*
%attr(0644,root,root) %{_mandir}/man1/ssh-keyscan.1*
%attr(0644,root,root) %{_mandir}/man1/sftp.1*
%endif
 
%if ! %{rescue}
%files server
%defattr(-,root,root)
%dir %attr(0111,root,root) %{_var}/empty/sshd
%attr(0755,root,root) %{_sbindir}/sshd
%attr(0755,root,root) %{_libexecdir}/openssh/sftp-server
%attr(0644,root,root) %{_mandir}/man8/sshd.8*
%attr(0644,root,root) %{_mandir}/man5/moduli.5*
%attr(0644,root,root) %{_mandir}/man5/sshd_config.5*
%attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
%attr(0755,root,root) %dir %{_sysconfdir}/ssh
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
%attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
%attr(0755,root,root) %config /etc/rc.d/init.d/sshd
%endif
 
%if ! %{no_x11_askpass}
%files askpass
%defattr(-,root,root)
%doc x11-ssh-askpass-%{aversion}/README
%doc x11-ssh-askpass-%{aversion}/ChangeLog
%doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
%{_libexecdir}/openssh/ssh-askpass
%attr(0755,root,root) %{_libexecdir}/openssh/x11-ssh-askpass
%endif
 
%if ! %{no_gnome_askpass}
%files askpass-gnome
%defattr(-,root,root)
%attr(0755,root,root) %config %{_sysconfdir}/profile.d/gnome-ssh-askpass.*
%attr(0755,root,root) %{_libexecdir}/openssh/gnome-ssh-askpass
%endif
 
%changelog
* Thu Oct 28 2021 Damien Miller <djm@mindrot.org>
- Remove remaining traces of --with-md5-passwords
 
* Mon Jul 20 2020 Damien Miller <djm@mindrot.org>
- Add ssh-sk-helper and corresponding manual page.
 
* Sat Feb 10 2018 Darren Tucker <dtucker@dtucker.net>
- Update openssl-devel dependency to match current requirements.
- Handle Fedora >=6 openssl 1.0 compat libs.
- Remove SSH1 from description.
- Don't strip binaries at build time so that debuginfo package can be
  created.
* Sun Nov 16 2014 Nico Kadel-Garcia 
- Add '--mandir' and '--with-mantype' for RHEL 5 compatibility
- Add 'dist' option to 'ver' so package names reflect OS at build time
- Always include x11-ssh-askpass tarball in SRPM
- Add openssh-x11-aspass BuildRequires for libXT-devel, imake, gtk2-devel
- Discard 'K5DIR' reporting, not usable inside 'mock' for RHEL 5 compatibility
- Discard obsolete '--with-rsh' configure option
- Update openssl-devel dependency to 0.9.8f, as found in autoconf
* Wed Jul 14 2010 Tim Rice 
- test for skip_x11_askpass (line 77) should have been for no_x11_askpass
* Mon Jun 2 2003 Damien Miller 
- Remove noip6 option. This may be controlled at run-time in client config
  file using new AddressFamily directive
* Mon May 12 2003 Damien Miller 
- Don't install profile.d scripts when not building with GNOME/GTK askpass
  (patch from bet@rahul.net)
 
* Tue Oct 01 2002 Damien Miller <djm@mindrot.org>
- Install ssh-agent setgid nobody to prevent ptrace() key theft attacks
 
* Mon Sep 30 2002 Damien Miller <djm@mindrot.org>
- Use contrib/ Makefile for building askpass programs
 
* Fri Jun 21 2002 Damien Miller <djm@mindrot.org>
- Merge in spec changes from seba@iq.pl (Sebastian Pachuta)
- Add new {ssh,sshd}_config.5 manpages
- Add new ssh-keysign program and remove setuid from ssh client
 
* Fri May 10 2002 Damien Miller <djm@mindrot.org>
- Merge in spec changes from RedHat, reorgansie a little
- Add Privsep user, group and directory
 
* Thu Mar  7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-2
- bump and grind (through the build system)
 
* Thu Mar  7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-1
- require sharutils for building (mindrot #137)
- require db1-devel only when building for 6.x (#55105), which probably won't
  work anyway (3.1 requires OpenSSL 0.9.6 to build), but what the heck
- require pam-devel by file (not by package name) again
- add Markus's patch to compile with OpenSSL 0.9.5a (from
  http://bugzilla.mindrot.org/show_bug.cgi?id=141) and apply it if we're
  building for 6.x
 
* Thu Mar  7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-0
- update to 3.1p1
 
* Tue Mar  5 2002 Nalin Dahyabhai <nalin@redhat.com> SNAP-20020305
- update to SNAP-20020305
- drop debug patch, fixed upstream
 
* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> SNAP-20020220
- update to SNAP-20020220 for testing purposes (you've been warned, if there's
  anything to be warned about, gss patches won't apply, I don't mind)
 
* Wed Feb 13 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-3
- add patches from Simon Wilkinson and Nicolas Williams for GSSAPI key
  exchange, authentication, and named key support
 
* Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-2
- remove dependency on db1-devel, which has just been swallowed up whole
  by gnome-libs-devel
 
* Sat Dec 29 2001 Nalin Dahyabhai <nalin@redhat.com>
- adjust build dependencies so that build6x actually works right (fix
  from Hugo van der Kooij)
 
* Tue Dec  4 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-1
- update to 3.0.2p1
 
* Fri Nov 16 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.1p1-1
- update to 3.0.1p1
 
* Tue Nov 13 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to current CVS (not for use in distribution)
 
* Thu Nov  8 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0p1-1
- merge some of Damien Miller <djm@mindrot.org> changes from the upstream
  3.0p1 spec file and init script
 
* Wed Nov  7 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to 3.0p1
- update to x11-ssh-askpass 1.2.4.1
- change build dependency on a file from pam-devel to the pam-devel package
- replace primes with moduli
 
* Thu Sep 27 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9p2-9
- incorporate fix from Markus Friedl's advisory for IP-based authorization bugs
* Thu Sep 13 2001 Bernhard Rosenkraenzer  2.9p2-8
- Merge changes to rescue build from current sysadmin survival cd
* Thu Sep  6 2001 Nalin Dahyabhai  2.9p2-7
- fix scp's server's reporting of file sizes, and build with the proper
  preprocessor define to get large-file capable open(), stat(), etc.
  (sftp has been doing this correctly all along) (#51827)
- configure without --with-ipv4-default on RHL 7.x and newer (#45987,#52247)
- pull cvs patch to fix support for /etc/nologin for non-PAM logins (#47298)
- mark profile.d scriptlets as config files (#42337)
- refer to Jason Stone's mail for zsh workaround for exit-hanging quasi-bug
- change a couple of log() statements to debug() statements (#50751)
- pull cvs patch to add -t flag to sshd (#28611)
- clear fd_sets correctly (one bit per FD, not one byte per FD) (#43221)
 
* Mon Aug 20 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9p2-6
- add db1-devel as a BuildPrerequisite (noted by Hans Ecke)
 
* Thu Aug 16 2001 Nalin Dahyabhai <nalin@redhat.com>
- pull cvs patch to fix remote port forwarding with protocol 2
 
* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com>
- pull cvs patch to add session initialization to no-pty sessions
- pull cvs patch to not cut off challengeresponse auth needlessly
- refuse to do X11 forwarding if xauth isn't there, handy if you enable
  it by default on a system that doesn't have X installed (#49263)
 
* Wed Aug  8 2001 Nalin Dahyabhai <nalin@redhat.com>
- don't apply patches to code we don't intend to build (spotted by Matt Galgoci)
 
* Mon Aug  6 2001 Nalin Dahyabhai <nalin@redhat.com>
- pass OPTIONS correctly to initlog (#50151)
 
* Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com>
- switch to x11-ssh-askpass 1.2.2
 
* Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment
 
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
- disable the gssapi patch
 
* Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.9p2
- refresh to a new version of the gssapi patch
 
* Thu Jun  7 2001 Nalin Dahyabhai <nalin@redhat.com>
- change Copyright: BSD to License: BSD
- add Markus Friedl's unverified patch for the cookie file deletion problem
  so that we can verify it
- drop patch to check if xauth is present (was folded into cookie patch)
- don't apply gssapi patches for the errata candidate
- clear supplemental groups list at startup
 
* Fri May 25 2001 Nalin Dahyabhai <nalin@redhat.com>
- fix an error parsing the new default sshd_config
- add a fix from Markus Friedl (via openssh-unix-dev) for ssh-keygen not
  dealing with comments right
 
* Thu May 24 2001 Nalin Dahyabhai <nalin@redhat.com>
- add in Simon Wilkinson's GSSAPI patch to give it some testing in-house,
  to be removed before the next beta cycle because it's a big departure
  from the upstream version
 
* Thu May  3 2001 Nalin Dahyabhai <nalin@redhat.com>
- finish marking strings in the init script for translation
- modify init script to source /etc/sysconfig/sshd and pass $OPTIONS to sshd
  at startup (change merged from openssh.com init script, originally by
  Pekka Savola)
- refuse to do X11 forwarding if xauth isn't there, handy if you enable
  it by default on a system that doesn't have X installed
 
* Wed May  2 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.9
- drop various patches that came from or went upstream or to or from CVS
 
* Wed Apr 18 2001 Nalin Dahyabhai <nalin@redhat.com>
- only require initscripts 5.00 on 6.2 (reported by Peter Bieringer)
 
* Sun Apr  8 2001 Preston Brown <pbrown@redhat.com>
- remove explicit openssl requirement, fixes builddistro issue
- make initscript stop() function wait until sshd really dead to avoid
  races in condrestart
 
* Mon Apr  2 2001 Nalin Dahyabhai <nalin@redhat.com>
- mention that challengereponse supports PAM, so disabling password doesn't
  limit users to pubkey and rsa auth (#34378)
- bypass the daemon() function in the init script and call initlog directly,
  because daemon() won't start a daemon it detects is already running (like
  open connections)
- require the version of openssl we had when we were built
 
* Fri Mar 23 2001 Nalin Dahyabhai <nalin@redhat.com>
- make do_pam_setcred() smart enough to know when to establish creds and
  when to reinitialize them
- add in a couple of other fixes from Damien for inclusion in the errata
 
* Thu Mar 22 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.5.2p2
- call setcred() again after initgroups, because the "creds" could actually
  be group memberships
 
* Tue Mar 20 2001 Nalin Dahyabhai <nalin@redhat.com>
- update to 2.5.2p1 (includes endianness fixes in the rijndael implementation)
- don't enable challenge-response by default until we find a way to not
  have too many userauth requests (we may make up to six pubkey and up to
  three password attempts as it is)
- remove build dependency on rsh to match openssh.com's packages more closely
 
* Sat Mar  3 2001 Nalin Dahyabhai <nalin@redhat.com>
- remove dependency on openssl -- would need to be too precise
 
* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
- rebuild in new environment
 
* Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com>
- Revert the patch to move pam_open_session.
- Init script and spec file changes from Pekka Savola. (#28750)
- Patch sftp to recognize '-o protocol' arguments. (#29540)
 
* Thu Feb 22 2001 Nalin Dahyabhai <nalin@redhat.com>
- Chuck the closing patch.
- Add a trigger to add host keys for protocol 2 to the config file, now that
  configuration file syntax requires us to specify it with HostKey if we
  specify any other HostKey values, which we do.
 
* Tue Feb 20 2001 Nalin Dahyabhai <nalin@redhat.com>
- Redo patch to move pam_open_session after the server setuid()s to the user.
- Rework the nopam patch to use be picked up by autoconf.
 
* Mon Feb 19 2001 Nalin Dahyabhai <nalin@redhat.com>
- Update for 2.5.1p1.
- Add init script mods from Pekka Savola.
- Tweak the init script to match the CVS contrib script more closely.
- Redo patch to ssh-add to try to adding both identity and id_dsa to also try
  adding id_rsa.
 
* Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com>
- Update for 2.5.0p1.
- Use $RPM_OPT_FLAGS instead of -O when building gnome-ssh-askpass
- Resync with parts of Damien Miller's openssh.spec from CVS, including
  update of x11 askpass to 1.2.0.
- Only require openssl (don't prereq) because we generate keys in the init
  script now.
 
* Tue Feb 13 2001 Nalin Dahyabhai <nalin@redhat.com>
- Don't open a PAM session until we've forked and become the user (#25690).
- Apply Andrew Bartlett's patch for letting pam_authenticate() know which
  host the user is attempting a login from.
- Resync with parts of Damien Miller's openssh.spec from CVS.
- Don't expose KbdInt responses in debug messages (from CVS).
- Detect and handle errors in rsa_{public,private}_decrypt (from CVS).
* Wed Feb  7 2001 Trond Eivind Glomsrxd 
- i18n-tweak to initscript.
* Tue Jan 23 2001 Nalin Dahyabhai 
- More gettextizing.
- Close all files after going into daemon mode (needs more testing).
- Extract patch from CVS to handle auth banners (in the client).
- Extract patch from CVS to handle compat weirdness.
* Fri Jan 19 2001 Nalin Dahyabhai 
- Finish with the gettextizing.
* Thu Jan 18 2001 Nalin Dahyabhai 
- Fix a bug in auth2-pam.c (#23877)
- Gettextize the init script.
* Wed Dec 20 2000 Nalin Dahyabhai 
- Incorporate a switch for using PAM configs for 6.x, just in case.
* Tue Dec  5 2000 Nalin Dahyabhai 
- Incorporate Bero's changes for a build specifically for rescue CDs.
 
* Wed Nov 29 2000 Nalin Dahyabhai <nalin@redhat.com>
- Don't treat pam_setcred() failure as fatal unless pam_authenticate() has
  succeeded, to allow public-key authentication after a failure with "none"
  authentication.  (#21268)
* Tue Nov 28 2000 Nalin Dahyabhai 
- Update to x11-askpass 1.1.1. (#21301)
- Don't second-guess fixpaths, which causes paths to get fixed twice. (#21290)
 
* Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com>
- Merge multiple PAM text messages into subsequent prompts when possible when
  doing keyboard-interactive authentication.
 
* Sun Nov 26 2000 Nalin Dahyabhai <nalin@redhat.com>
- Disable the built-in MD5 password support.  We're using PAM.
- Take a crack at doing keyboard-interactive authentication with PAM, and
  enable use of it in the default client configuration so that the client
  will try it when the server disallows password authentication.
- Build with debugging flags.  Build root policies strip all binaries anyway.
* Tue Nov 21 2000 Nalin Dahyabhai 
- Use DESTDIR instead of %%makeinstall.
- Remove /usr/X11R6/bin from the path-fixing patch.
* Mon Nov 20 2000 Nalin Dahyabhai 
- Add the primes file from the latest snapshot to the main package (#20884).
- Add the dev package to the prereq list (#19984).
- Remove the default path and mimic login's behavior in the server itself.
 
* Fri Nov 17 2000 Nalin Dahyabhai <nalin@redhat.com>
- Resync with conditional options in Damien Miller's .spec file for an errata.
- Change libexecdir from %%{_libexecdir}/ssh to %%{_libexecdir}/openssh.
* Tue Nov  7 2000 Nalin Dahyabhai 
- Update to OpenSSH 2.3.0p1.
- Update to x11-askpass 1.1.0.
- Enable keyboard-interactive authentication.
* Mon Oct 30 2000 Nalin Dahyabhai 
- Update to ssh-askpass-x11 1.0.3.
- Change authentication related messages to be private (#19966).
* Tue Oct 10 2000 Nalin Dahyabhai 
- Patch ssh-keygen to be able to list signatures for DSA public key files
  it generates.
* Thu Oct  5 2000 Nalin Dahyabhai 
- Add BuildRequires on /usr/include/security/pam_appl.h to be sure we always
  build PAM authentication in.
- Try setting SSH_ASKPASS if gnome-ssh-askpass is installed.
- Clean out no-longer-used patches.
- Patch ssh-add to try to add both identity and id_dsa, and to error only
  when neither exists.
* Mon Oct  2 2000 Nalin Dahyabhai 
- Update x11-askpass to 1.0.2. (#17835)
- Add BuildRequiress for /bin/login and /usr/bin/rsh so that configure will
  always find them in the right place. (#17909)
- Set the default path to be the same as the one supplied by /bin/login, but
  add /usr/X11R6/bin. (#17909)
- Try to handle obsoletion of ssh-server more cleanly.  Package names
  are different, but init script name isn't. (#17865)
 
* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
- Update to 2.2.0p1. (#17835)
- Tweak the init script to allow proper restarting. (#18023)
 
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
- Update to 20000823 snapshot.
- Change subpackage requirements from %%{version} to %%{version}-%%{release}
- Back out the pipe patch.
 
* Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
- Update to 2.1.1p4, which includes fixes for config file parsing problems.
- Move the init script back.
- Add Damien's quick fix for wackiness.
* Wed Jul 12 2000 Nalin Dahyabhai 
- Update to 2.1.1p3, which includes fixes for X11 forwarding and strtok().
* Thu Jul  6 2000 Nalin Dahyabhai 
- Move condrestart to server postun.
- Move key generation to init script.
- Actually use the right patch for moving the key generation to the init script.
- Clean up the init script a bit.
* Wed Jul  5 2000 Nalin Dahyabhai 
- Fix X11 forwarding, from mail post by Chan Shih-Ping Richard.
* Sun Jul  2 2000 Nalin Dahyabhai 
- Update to 2.1.1p2.
- Use of strtok() considered harmful.
* Sat Jul  1 2000 Nalin Dahyabhai 
- Get the build root out of the man pages.
* Thu Jun 29 2000 Nalin Dahyabhai 
- Add and use condrestart support in the init script.
- Add newer initscripts as a prereq.
* Tue Jun 27 2000 Nalin Dahyabhai 
- Build in new environment (release 2)
- Move -clients subpackage to Applications/Internet group
* Fri Jun  9 2000 Nalin Dahyabhai 
- Update to 2.2.1p1
* Sat Jun  3 2000 Nalin Dahyabhai 
- Patch to build with neither RSA nor RSAref.
- Miscellaneous FHS-compliance tweaks.
- Fix for possibly-compressed man pages.
* Wed Mar 15 2000 Damien Miller 
- Updated for new location
- Updated for new gnome-ssh-askpass build
* Sun Dec 26 1999 Damien Miller 
- Added Jim Knoble's <jmknoble@pobox.com> askpass
 
* Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
- Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
 
* Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
- Added 'Obsoletes' directives
 
* Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
- Use make install
- Subpackages
 
* Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
- Added links for slogin
- Fixed perms on manpages
 
* Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
- Renamed init script
 
* Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
- Back to old binary names
 
* Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
- Use autoconf
- New binary names
 
* Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
- Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.

二、构建rpm包

上诉准备工作完成之后,执行如下命令构建rpm包

rpmbuild -ba ~/rpmbuild/SPECS/openssh.spec

看到如下结果为打包成功

进入打包后的rpm包目录,将相关的包上传到需要升级的服务器安装即可

cd /root/rpmbuild/RPMS/aarch64

三、安装升级OpenSSH

正常我们安装openssh-9.6p1-1.uel20.aarch64.rpmopenssh-clients-9.6p1-1.uel20.aarch64.rpmopenssh-server-9.6p1-1.uel20.aarch64.rpm三个包即可,将这三个包上传至目标服务器进行安装

scp openssh-9.6p1-1.uel20.aarch64.rpm openssh-clients-9.6p1-1.uel20.aarch64.rpm openssh-server-9.6p1-1.uel20.aarch64.rpm uat90:~/

1、安装OpenSSH

注意:安装前先进行备份,安装过程如果失败,容易造成无法再通过ssh连接,建议安装一个telnet保持长链接,同时建议看两个以上终端连接上再进行升级,以免安装失败无法恢复sshd服务正常

1.1、停用和卸载旧版本sshd服务

查看当前版本
ssh -V

rpm -qa | grep openssh

卸载当前版本
# 停用
systemctl stop sshd
# 卸载当前安装版本
rpm -e --nodeps openssh-server openssh-clients openssh openssh-help

1.2、安装新版本

注意:安装前先进行备份,安装过程如果失败,容易造成无法再通过ssh连接,建议安装一个telnet保持长链接,同时建议看两个以上终端连接上再进行升级,以免安装失败无法恢复sshd服务正常

rpm -Uvh --oldpackage --nodeps openssh-9.6p1-1.uel20.aarch64.rpm openssh-clients-9.6p1-1.uel20.aarch64.rpm openssh-server-9.6p1-1.uel20.aarch64.rpm

1.3、修改配置

vim /etc/ssh/sshd_config
PasswordAuthentication yes
UsePAM no
批量配置添加

可以执行如下命令将所有配置追加到/etc/ssh/sshd_config配置中

cat >> /etc/ssh/sshd_config << EOF
# ------------升级脚本添加的安全配置--------------
# 安全增强
StrictModes yes
IgnoreRhosts yes
HostbasedAuthentication no
PermitUserEnvironment no
ClientAliveCountMax 0
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
PermitTunnel no

# 认证配置
PermitRootLogin yes
PasswordAuthentication yes
UsePAM yes # 启用 PAM
PermitEmptyPasswords no
PubkeyAuthentication yes

# 加密配置(保持原有安全设置)
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Ciphers aes128-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
MACs hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com
PubkeyAcceptedKeyTypes ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512

# 日志与版本信息
LogLevel INFO  # 生产环境建议使用 INFO
#Banner /etc/issue.net
#Banner none
VersionAddendum none

# 连接设置
Protocol 2
LoginGraceTime 60
IgnoreUserKnownHosts yes
EOF

执行如下配置将兼容配置添加到/etc/pam.d/sshd,不添加使用默认配置的话密码登录时会报错提示找不到pam_stack.so

cat > /etc/pam.d/sshd << EOF
#%PAM-1.0
auth       substack     password-auth
auth       include      postlogin
account    required     pam_sepermit.so
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    optional     pam_motd.so
session    include      password-auth
session    include      postlogin
EOF
检测配置是否正确

如下命令无输出不报错则表示配置正确没有问题✔

sshd -t

1.4、启动sshd

systemctl start sshd

systemctl status sshd

1.5、检查版本

检查版本,从其他机器测试登录是否正常

ssh -V


至此完成统信UOS操作系统aarch64自制OpenSSH的rpm包从8.2p1到9.6p1版本升级

附、下载rpm资源包安装

如果你的系统刚好是统信uel20.aarch64,同时OpenSSH是9.6p1以下版本,可以直接下载我编译好的rpm安装包

下载openssh-9.6p1-1.uel20.aarch64-rpm安装包.zip,包中内容如下,安装包中包含了一键安装升级脚本

upgrade_openssh.sh升级脚本

#!/bin/bash

# OpenSSH 升级脚本
# 适用于 aarch64 架构,升级安装 OpenSSH 至 9.6p1

# 颜色定义
RED=''
GREEN=''
YELLOW=''
NC='' # 恢复默认颜色

# 日志函数
log() {
    echo -e "[$(date '+%Y-%m-%d %H:%M:%S')] $1"
}

# 错误处理函数
handle_error() {
    log "${RED}错误: $1${NC}"
    exit 1
}

# 确认函数
confirm() {
    read -p "$1 [y/N] " response
    case "$response" in
        [yY][eE][sS]|[yY]) 
            true
            ;;
        *)
            false
            ;;
    esac
}

# 版本比较函数
version_compare() {
    # 提取版本号(如 9.6p1)
    local current=$(echo "$1" | grep -oP 'OpenSSH_K[^,]+')
    local target="9.6p1"
    
    log "当前版本: $current"
    log "目标版本: $target"
    
    # 比较主版本号
    local current_major=$(echo "$current" | grep -oP '^d+.d+')
    local target_major=$(echo "$target" | grep -oP '^d+.d+')
    
    if (( $(echo "$current_major < $target_major" | bc -l) )); then
        return 0  # 需要升级
    elif (( $(echo "$current_major > $target_major" | bc -l) )); then
        return 1  # 无需升级
    else
        # 主版本相同,比较次要版本
        local current_minor=$(echo "$current" | grep -oP 'pd+$')
        local target_minor=$(echo "$target" | grep -oP 'pd+$')
        
        if [[ "$current_minor" < "$target_minor" ]]; then
            return 0  # 需要升级
        else
            return 1  # 无需升级
        fi
    fi
}

# 主函数
main() {
    log "${YELLOW}开始 OpenSSH 升级脚本${NC}"
    
    # 检查是否为root用户
    if [ "$(id -u)" -ne 0 ]; then
        handle_error "请使用root用户运行此脚本"
    fi
    
    # 检查系统架构
    ARCH=$(uname -m)
    if [ "$ARCH" != "aarch64" ]; then
        log "${YELLOW}警告: 检测到架构为 $ARCH,此脚本专为 aarch64 设计${NC}"
        if ! confirm "是否继续执行?"; then
            log "${YELLOW}脚本已取消${NC}"
            exit 0
        fi
    fi
    
    # 保存当前目录
    CURRENT_DIR=$(pwd)
    
    # 创建工作目录
    WORK_DIR="/opt/openssh-upgrade"
    mkdir -p "$WORK_DIR" || handle_error "无法创建工作目录 $WORK_DIR"
    cd "$WORK_DIR" || handle_error "无法进入工作目录 $WORK_DIR"
    
    log "${GREEN}==== 步骤 1: 查看当前 OpenSSH 版本 ====${NC}"
    CURRENT_SSHD=$(sshd -V 2>&1 | head -1)
    
    if [[ -z "$CURRENT_SSHD" ]]; then
        log "${YELLOW}未找到已安装的 OpenSSH,将进行全新安装${NC}"
    else
        log "当前安装的 OpenSSH 版本:"
        log "$CURRENT_SSHD"
        
        # 验证配置
        if ! sshd -t 2>/dev/null; then
            log "${YELLOW}当前 OpenSSH 配置验证失败,升级后需检查配置${NC}"
        fi
        
        # 版本比较
        if version_compare "$CURRENT_SSHD"; then
            log "${GREEN}当前版本低于 9.6p1,继续升级${NC}"
        else
            log "${YELLOW}当前版本已大于或等于 9.6p1,无需升级${NC}"
            log "${YELLOW}当前版本: $CURRENT_SSHD${NC}"
            exit 0
        fi
    fi
    
    if ! confirm "是否继续进行升级?"; then
        log "${YELLOW}脚本已取消${NC}"
        exit 0
    fi
    
    log "${GREEN}==== 步骤 2: 卸载当前 OpenSSH ====${NC}"
    log "停止 sshd 服务..."
    systemctl stop sshd || log "${YELLOW}无法停止 sshd 服务,可能未运行${NC}"
    
    log "卸载 OpenSSH 包..."
    rpm -e --nodeps openssh-server openssh-clients openssh openssh-help 2>/dev/null || log "${YELLOW}卸载现有 OpenSSH 包失败或包不存在${NC}"
    
    log "${GREEN}==== 步骤 3: 安装新的 OpenSSH ====${NC}"
    RPM_DIR="$CURRENT_DIR"  # 假设RPM包在当前目录
    RPM_FILES=(
        "openssh-9.6p1-1.uel20.aarch64.rpm"
        "openssh-clients-9.6p1-1.uel20.aarch64.rpm"
        "openssh-server-9.6p1-1.uel20.aarch64.rpm"
    )
    
    # 检查RPM文件是否存在
    MISSING_RPMS=()
    for file in "${RPM_FILES[@]}"; do
        if [ ! -f "$RPM_DIR/$file" ]; then
            MISSING_RPMS+=("$file")
        fi
    done
    
    if [ ${#MISSING_RPMS[@]} -gt 0 ]; then
        log "${RED}错误: 以下RPM文件不存在:${NC}"
        for file in "${MISSING_RPMS[@]}"; do
            log "  - $file"
        done
        handle_error "请确保RPM文件在 $RPM_DIR 目录中"
    fi
    
    log "安装新的 OpenSSH 包..."
    rpm -Uvh --oldpackage --nodeps "$RPM_DIR/"openssh-*.rpm || handle_error "安装 OpenSSH RPM 包失败"
    
    log "${GREEN}==== 步骤 4: 修改 SSH 配置 ====${NC}"
    SSH_CONFIG="/etc/ssh/sshd_config"
    BACKUP_CONFIG="$SSH_CONFIG.bak.$(date '+%Y%m%d%H%M%S')"
    
    log "备份现有配置文件到 $BACKUP_CONFIG"
    cp "$SSH_CONFIG" "$BACKUP_CONFIG" || handle_error "无法备份 SSH 配置文件"
    
    log "追加新配置到 $SSH_CONFIG"
    cat >> "$SSH_CONFIG" << EOF

# ------------升级脚本添加的安全配置--------------
# 安全增强
StrictModes yes
IgnoreRhosts yes
HostbasedAuthentication no
PermitUserEnvironment no
ClientAliveCountMax 0
AllowTcpForwarding no
AllowAgentForwarding no
GatewayPorts no
PermitTunnel no

# 认证配置
PermitRootLogin yes
PasswordAuthentication yes
UsePAM yes # 启用 PAM
PermitEmptyPasswords no
PubkeyAuthentication yes

# 加密配置(保持原有安全设置)
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Ciphers aes128-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
MACs hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com
PubkeyAcceptedKeyTypes ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512

# 日志与版本信息
LogLevel INFO  # 生产环境建议使用 INFO
#Banner /etc/issue.net
#Banner none
VersionAddendum none

# 连接设置
Protocol 2
LoginGraceTime 60
IgnoreUserKnownHosts yes
EOF

        log "添加配置到 /etc/pam.d/sshd"
    cat > /etc/pam.d/sshd << EOF
#%PAM-1.0
auth       substack     password-auth
auth       include      postlogin
account    required     pam_sepermit.so
account    required     pam_nologin.so
account    include      password-auth
password   include      password-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    required     pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open env_params
session    required     pam_namespace.so
session    optional     pam_keyinit.so force revoke
session    optional     pam_motd.so
session    include      password-auth
session    include      postlogin
EOF

    log "${GREEN}==== 步骤 5: 启动并验证 SSH ====${NC}"
    log "启动 sshd 服务..."
    systemctl start sshd || handle_error "启动 sshd 服务失败"
    
    log "检查服务状态..."
    systemctl status sshd --no-pager || log "${YELLOW}sshd 服务状态检查失败,但服务可能仍在运行${NC}"
    
    log "验证升级后的版本..."
    sshd -t || handle_error "升级后的 OpenSSH 配置验证失败"
    
    log "${GREEN}==== 步骤 6: 检查并设置开机自启动 ====${NC}"
    if [[ $(systemctl is-enabled sshd) != "enabled" ]]; then
        log "${YELLOW}sshd 服务未设置开机自启动,正在设置...${NC}"
        systemctl enable sshd || log "${RED}警告: 无法设置 sshd 开机自启动,请手动设置${NC}"
    else
        log "${GREEN}sshd 服务已设置开机自启动${NC}"
    fi
    
    log "重启 sshd 服务..."
    systemctl restart sshd || handle_error "重启 sshd 服务失败"
    
    log "${GREEN}==== OpenSSH 升级完成 ====${NC}"
    log "新版本: $(sshd -V 2>&1 | head -1)"
    log "配置文件: $SSH_CONFIG"
    log "备份文件: $BACKUP_CONFIG"
    log "${GREEN}请确保能够通过 SSH 连接到服务器后再关闭当前会话${NC}"
    log "${YELLOW}脚本参考:http://blog.csdn.net/UberSoldier/article/details/148410819${NC}"
}

# 执行主函数
main

本文地址:https://www.vps345.com/15671.html

搜索文章

Tags

docker 容器 运维 java-rabbitmq java 智能驾驶 BEVFusion Ubuntu 服务器带宽 上行带宽 上行速率 什么是上行带宽? PV计算 带宽计算 流量带宽 #docker #centos #容器 macos windows linux 服务器 嵌入式硬件 #windows #自动化 #运维 pytorch tensorflow 网络 远程连接 vscode github ubuntu 无人机 机器人 流量攻击 DDOS攻击 服务器被攻击怎么办 源IP AI Dify 大模型应用 CC攻击 攻击怎么办 ide #git #ssh #windows ubuntu24.04 todesk c# 开发语言 网络协议 网络安全 云原生 #linux #命令 #网络 安全 ssh漏洞 ssh9.9p2 CVE-2025-23419 ai nlp python c++ php harmonyos 华为 react native #harmonyos #android #ios ssh remote-ssh centos 人工智能 #macos #EasyConnect #ubuntu #linux #java #华为 边缘计算 具身智能 强化学习 conda ROS 自动驾驶 经验分享 部署 IPMI #jenkins #人工智能 #云原生 ollama llm wireshark #javascript #开发语言 #ecmascript 深度学习 自动化 远程工作 debian wps 安卓 tomcat micropython esp32 单片机 mqtt 物联网 #区块链 #智能合约 语言模型 AI大模型 DeepSeek agi 中间件 web安全 可信计算技术 安全架构 网络攻击模型 数据库 mysql adb prometheus grafana LLM 大模型面经 大模型 职场和发展 Deepseek 大模型学习 n8n 存储维护 NetApp存储 EMC存储 CosyVoice 虚拟机 AIGC comfyui comfyui教程 网络药理学 生信 分子对接 autodock mgltools PDB PubChem web3 区块链 区块链项目 zabbix 快捷键 旋转屏幕 自动操作 r语言 数据挖掘 数据可视化 数据分析 机器学习 服务器安全 网络安全策略 防御服务器攻击 安全威胁和解决方案 程序员博客保护 数据保护 安全最佳实践 ddos kylin 开源 dity make flutter Google pay Apple pay 华为云 华为od 持续部署 jenkins intellij-idea 智能合约 压力测试 哈希算法 Playwright pythonai PlaywrightMCP 3d golang 算法 游戏引擎 学习 svn 智能路由器 Linux 维护模式 bash 编辑器 pip Agent llama CrewAI 小程序 自然语言处理 uni-app m3u8 HLS 移动端H5网页 APP安卓苹果ios 监控画面 直播视频流 YOLO 目标检测 rk3588 npu rknn-toolkit2 html http json css DevEco Studio HarmonyOS OpenHarmony 真机调试 ssl springsecurity6 oauth2 授权服务器 前后端分离 git stm32 tcp/ip django fastapi 后端 MVS 海康威视相机 rag ragflow 大模型部署 Java进程管理 DevOps自动化 脚本执行 跨平台开发 远程运维 Apache Exec JSch apache pdf xml gpu算力 网络工程师 华为认证 YOLOv8 NPU Atlas800 A300I pro onlyoffice 在线office #激光雷达 #览沃 #ubuntu22.04 #ros2 #大疆 群晖 低代码 unity GameFramework HybridCLR Unity编辑器扩展 自动化工具 性能优化 MCP AI编程 visual studio code 1024程序员节 单例模式 课程设计 负载均衡 unix 鸿蒙 混合开发 环境安装 JDK 计算机视觉 c语言 计算机网络 阿里云 云计算 spring boot spring bug 运维开发 MacMini Mac 迷你主机 mini Apple yolov5 dash 正则表达式 ESXi Dell HPE 联想 浪潮 飞牛NAS 飞牛OS MacBook Pro linux环境变量 gnu iot opencv kvm qemu libvirt qt linuxdeployqt 打包部署程序 appimagetool ruoyi Kylin-Server 国产操作系统 服务器安装 其他 nginx chatgpt 电路仿真 multisim 硬件工程师 硬件工程师学习 电路图 电路分析 仪器仪表 nvcc cuda A100 搜索引擎 程序员 prompt ffmpeg 音视频 视频编解码 word图片自动上传 word一键转存 复制word图片 复制word图文 复制word公式 粘贴word图文 粘贴word公式 Cline typescript 微信 redis GCC crosstool-ng appium 软件测试 自动化测试 功能测试 程序人生 实时音视频 实时互动 爬虫 设计模式 fpga开发 arm开发 open webui rtsp h.265 vite Svelte 策略模式 mac mac安装软件 mac卸载软件 mac book AI提示词优化 #网络 #dify CUDA PyTorch aarch64 编译安装 HPC postgresql pgpool gpt transformer okhttp android vmamba deepseek 鲲鹏 昇腾 mamba rpa 技能大赛 Qwen3 qwen3 32b vllm 本地部署 milvus 向量数据库 oceanbase 传统数据库升级 银行 SSH Linux Xterminal uniapp vue android studio 交互 websocket 银河麒麟 信创国产化 达梦数据库 笔记 MobaXterm 文件传输 #embedding 神经网络 HTTP 服务器控制 ESP32 DeepSeek ansible playbook 自动化运维 kubernetes k8s searxng 动态库 GCC编译器 -fPIC -shared 交换机 硬件 设备 GPU PCI-Express chrome chrome devtools selenium chromedriver mybatis Docker Docker Compose Kubernetes 三维重建 rpc 远程过程调用 Windows环境 MS Materials 硬件工程 程序 编程 内存 性能分析 大模型压力测试 EvalScope dify dify部署 SenseVoice iventoy VmWare OpenEuler DevOps 大数据 软件交付 数据驱动 应用场景 数据安全 EVE-NG Autoware 辅助驾驶 远程桌面 rust 前端 鸿蒙系统 hdc 鸿蒙NEXT 嵌入式Linux IPC elasticsearch 华为机试 C++ Java Python LLM Web APP Streamlit 大模型入门 大模型教程 rc.local 开机自启 systemd 麒麟 vue.js javascript 服务器配置 glibc openssl 图像处理 数据集 蓝桥杯 springboot容器部署 springboot容器化部署 微服务容器化负载均衡配置 微服务容器多节点部署 微服务多节点部署配置负载均衡 FunASR ASR HTTP状态码 客户端错误 服务器端错误 API设计 嵌入式 linux驱动开发 流程图 mermaid 截图 录屏 gif 工具 进程信号 智能手机 openjdk Claude Desktop Claude MCP Windows Cli MCP 智能体开发 SSE 知识图谱 LVS WSL2 上安装 Ubuntu LLMs GenAI LLM 推理优化 LLM serving microsoft coze dubbo Windsurf oracle 关系型 分布式 node.js 计算机学习路线 编程语言选择 安全威胁分析 安全性测试 王者荣耀 视频平台 录像 RTSP 视频转发 性能测试 视频流 存储 安全漏洞 信息安全 进程间通信 GPU训练 wsl #chrome #mac #拓展程序 #禁用 ui 多线程服务器 Linux网络编程 EasyConnect llama3 Chatglm 开源大模型 语音识别 mcu 信息与通信 AutoDL Qwen2.5-VL 开发工具 基础指令 指令 计算机外设 langchain deep learning openwrt USB网络共享 seatunnel 金融 vue3 #人工智能 #深度学习 #机器学习 #考研 #计算机视觉 FTP 服务器 硬件架构 系统架构 pycharm 三级等保 服务器审计日志备份 企业微信 servlet chatbox 监控 UOS 开机自启动 桌面快捷方式 lsb_release /etc/issue /proc/version uname -r 查看ubuntu版本 相机 rabbitmq cron crontab日志 架构 毕设 大大通 第三代半导体 碳化硅 科技 Windows ai工具 harmonyOS面试题 软件工程 软件构建 arkUI arkTs YOLOv12 QQ bot Docker Hub docker pull 镜像源 daemon.json pygame 主从复制 docker desktop image word Apache Flume 数据采集 安装部署 配置优化 高级功能 大数据工具集成 工作流自动化工具 bushujiaocheng 部署教程 算家云 AI算力 租算力 到算家云 #centos #vscode #ubuntu 驱动开发 嵌入式实习 DNS 代码调试 ipdb 安卓模拟器 iNode Macos burpsuite 安全工具 mac安全工具 burp安装教程 渗透工具 多线程 进程 pthread 系统 火绒安全 mybase zephyr 政务 分布式系统 监控运维 Prometheus Grafana openEuler 欧拉系统 MCP server agent C/S 麒麟OS CH340 串口驱动 CH341 uart 485 操作系统 webpack 工作流 workflow ragflow 源码启动 Portainer搭建 Portainer使用 Portainer使用详解 Portainer详解 Portainer portainer eureka spring cloud 知识库 本地化部署 计算生物学 生物信息学 生物信息 基因组 换源 国内源 Debian Kali 渗透 小智 MLLMs VLM gpt-4v 游戏 FTP服务器 maven 学习方法 环境迁移 统信 虚拟机安装 游戏服务器 Minecraft elk 个人开发 信号处理 tcpdump 飞腾处理器 国产化 jvm muduo 网络库 Claude Vmamba nohup 异步执行 百度 paddlepaddle xrdp visualstudio GIS 遥感 WebGIS opensearch helm 数据库架构 数据管理 数据治理 数据编织 数据虚拟化 程序化交易 量化交易 高频交易 mariadb 云计算面试题 yum apt HarmonyOS Next gitee Ollama RAGFlow 本地知识库部署 DeepSeek R1 模型 ShapeFile GeoJSON Nginx devops 防火墙 ufw 安装MySQL 开源软件 stm32项目 系统安全 kind arm HCIE 数通 jupyter 云服务器 flask web3.py 外网访问 内网穿透 端口映射 Deepseek-R1 私有化部署 推理模型 matlab hadoop big data 前端框架 sdkman UEFI Legacy MBR GPT U盘安装操作系统 cursor 环境部署 RTX5090 torch2.7.0 flash-attention 报错 集成学习 集成测试 服务器无法访问 ip地址无法访问 无法访问宝塔面板 宝塔面板打不开 Java Applet URL操作 服务器建立 Socket编程 网络文件读取 tidb GLIBC 微信开放平台 微信公众平台 微信公众号配置 windows 服务器安装 glm4 element-ui 上传视频并预览视频 vue上传本地视频及进度条功能 vue2选择视频上传到服务器 upload上传视频组件插件 批量上传视频 限制单个上传视频 cmake arcgis gitlab SecureCRT latex vim list 网络结构图 yaml Ultralytics 可视化 缓存 线程 测试工具 网页服务器 web服务器 镜像 ACL 流量控制 基本ACL 网络管理 规则配置 iBMC UltraISO 雨云 NPS NAS Termux Samba https 反向代理 triton 模型分析 Chatbox gitee go 计算机系统 网络编程 wsl2 Cursor 电子信息 通信工程 毕业 chromium dpi Bug解决 Qt platform OpenCV 华为鸿蒙系统 ArkTS语言 Component 生命周期 条件渲染 Image图片组件 ros 树莓派项目 #IntelliJ IDEA #Java #Kotlin 程序员创富 微服务 数据结构 电脑 gcc centos 7 卷积神经网络 fiddler IPv4/IPv6双栈 双栈技术 网路规划设计 ensp综合实验 IPv4过渡IPv6 IPv4与IPv6 物理地址 页表 虚拟地址 考研 H3C IMM RAID RAID技术 磁盘 open Euler dde deepin 统信UOS 统信操作系统 jar UOS1070e webrtc 话题通信 服务通信 umeditor粘贴word ueditor粘贴word ueditor复制word ueditor上传word图片 Spring AI 大模型应用开发 AI 应用商业化 软件需求 nvm node 环境配置 eclipse RAG Multi-Agent RustDesk自建服务器 rustdesk服务器 docker rustdesk 常用命令 文本命令 目录命令 智能硬件 sql 游戏程序 宝塔面板 grub 版本升级 扩容 服务器扩容没有扩容成功 Pyppeteer 抽象工厂模式 trae sequoiaDB embedding nftables vmware 烟雾检测 yolo检测 消防检测 线程互斥与同步 自定义客户端 SAS Dell R750XS mcp mcp协议 go-zero mcp服务器 #服务器 RockyLinux paddle react.js 远程 命令 执行 sshpass 操作 rnn perl 抓包工具 弹性计算 裸金属服务器 弹性裸金属服务器 虚拟化 HP Anyware ftp服务 文件上传 PyQt PySide6 NVML nvidia-smi 源代码管理 vmware tools VMware 生成对抗网络 gemini gemini国内访问 gemini api gemini中转搭建 Cloudflare cudnn nvidia maxkb ARG archlinux kde plasma 迁移 openeuler lvgl8.3 lvgl9.2 lvgl lvgl安装 #服务器 #c语言 #git #vim yolov8 ai小智 语音助手 ai小智配网 ai小智教程 esp32语音助手 diy语音助手 PX4 Linux Vim docker compose 终端工具 远程工具 Alist rclone mount 挂载 网盘 论文笔记 deepseek-v3 ktransformers 记账软件 springboot 容器部署 udp 框架搭建 密码学 我的世界 我的世界联机 数码 rust腐蚀 MQTT mosquitto 消息队列 树莓派 Navidrome ipython #c++ NFS 重启 排查 系统重启 日志 原因 我的世界服务器搭建 minecraft 5G 产品经理 代码复审 codereview code-review 模块测试 #算法 #数据清洗 腾讯云大模型知识引擎 nac 802.1 portal can 线程池 ecmascript KVM k8s部署 MySQL8.0 高可用集群(1主2从) RagFlow VSCode 物联网开发 漏洞 ISO镜像作为本地源 postman 分布式账本 信任链 共识算法 AI-native 7-zip 矩阵乘法 3D深度学习 进程控制 ip 虚拟显示器 远程控制 ArkTs ArkUI CPU 使用率 系统监控工具 linux 命令 burp suite 抓包 rocketmq ollama api ollama外网访问 Obsidian Dataview libreoffice word转pdf 安装 文档 virtualenv DocFlow 网络建设与运维 网络搭建 神州数码 神州数码云平台 云平台 性能调优 安全代理 jellyfin nas GPUGEEK 代理模式 升级 CVE-2024-7347 ESP32 KylinV10 麒麟操作系统 Vmware html5 less hive ranger MySQL8.0 jmeter python2 隐藏文件 sqlserver 实时内核 IP地址 IPv4 IPv6 端口号 计算机基础 shell FS 文件系统 bootfs rootfs linux目录 人工智能生成内容 etcd cfssl 前端面试题 go jdk dns是什么 如何设置电脑dns dns应该如何设置 豆瓣 追剧助手 迅雷 ukui 麒麟kylinos rsync bigdata 微信小程序 notepad++ 性能监控 Uvicorn 数学建模 ROS2 stable diffusion AI作画 g++ g++13 iTerm2 打不开xxx软件 无法检查其是否包含恶意软件 zookeeper easyTier 组网 开发环境 微软 Kali Linux ShenTong 虚拟局域网 ip命令 新增网卡 新增IP 启动网卡 LSTM 健康医疗 C语言 大模型微调 odoo 服务器动作 Server action 僵尸世界大战 游戏服务器搭建 adobe 音乐服务器 音流 thingsboard midjourney AI写作 上传视频至服务器代码 vue3批量上传多个视频并预览 如何实现将本地视频上传到网页 element plu视频上传 ant design vue vue3本地上传视频及预览移除 ECS API 状态模式 源码 毕业设计 鸿蒙项目 #字体 #安装 #微软雅黑 #office eNSP 企业网络规划 华为eNSP 网络规划 Logstash 日志采集 拓扑图 文心一言 Mermaid 可视化图表 自动化生成 postgres Docker Desktop Dify重启后重新初始化 kubeless 软考设计师 中级设计师 SQL 软件设计师 创业创新 计算机八股 Trae IDE AI 原生集成开发环境 Trae AI 无桌面 命令行 string模拟实现 深拷贝 浅拷贝 经典的string类问题 三个swap 分布式训练 CDN Netty ios OpenGL 图形渲染 若依 内存不足 outofmemory Key exchange 主包过大 centos-root /dev/mapper yum clean all df -h / du -sh xcode anaconda cocoapods MacOS 向日葵 notepad 渗透测试 vnc miniapp 调试 debug 断点 网络API请求调试方法 kali 共享文件夹 显卡驱动持久化 GPU持久化 nohup后台启动 面试 仙盟大衍灵机 东方仙盟 仙盟创梦IDE 云电竞 云电脑 单一职责原则 express CORS 跨域 kafka 云服务 游戏开发 wordpress 无法访问wordpess后台 打开网站页面错乱 linux宝塔面板 wordpress更换服务器 媒体 Jellyfin p2p AI员工 CPU架构 服务器cpu 开发效率 Windmill struts 物联网嵌入式开发实训室 物联网实训室 嵌入式开发实训室 物联网应用技术专业实训室 ArcTS 登录 ArcUI GridItem 命名管道 客户端与服务端通信 protobuf 序列化和反序列化 安装教程 GPU环境配置 Ubuntu22 Anaconda安装 系统内核 Linux版本 kernel function address 函数 地址 内核 NVIDIA显卡安装 Ubuntu开机黑屏 minicom 串口调试工具 网络用户购物行为分析可视化平台 大数据毕业设计 docker搭建nacos详解 docker部署nacos docker安装nacos 腾讯云搭建nacos centos7搭建nacos seleium WSL zip unzip edge rdp 远程服务 STP 生成树协议 PVST RSTP MSTP 防环路 网络基础 unionFS OverlayFS OCI docker架构 写时复制 实验 spark HistoryServer Spark YARN jobhistory 大模型推理 服务器繁忙 网工 tailscale derp derper 中转 bonding 链路聚合 黑客 计算机 网站搭建 serv00 博客 .netcore .net core .net NFC 近场通讯 智能门锁 aws Python 视频爬取教程 Python 视频爬取 Python教程 Python 视频教程 客户端-服务器架构 点对点网络 服务协议 网络虚拟化 网络安全防御 fstab ubuntu20.04 开机黑屏 桌面环境 电脑桌面出现linux图标 电脑桌面linux图标删除不了 电脑桌面Liunx图标删不掉 linux图标删不掉 miniconda yum换源 TRAE 车载系统 DBeaver 数据仓库 kerberos mcp-proxy mcp-inspector fastapi-mcp sse yum源切换 更换国内yum源 增强现实 沉浸式体验 技术实现 案例分析 AR ros2 moveit 机器人运动 云原生开发 接口优化 k8s二次开发 宝塔面板无法访问 计算机科学与技术 网卡 网络爬虫 卸载 软件 列表 Crawlee perf 大语言模型 lstm LSTM-SVM 时间序列预测 #自动化 pppoe radius 技术 css3 微信小程序域名配置 微信小程序服务器域名 微信小程序合法域名 小程序配置业务域名 微信小程序需要域名吗 微信小程序添加域名 nuxt3 计算虚拟化 弹性裸金属 C++软件实战问题排查经验分享 0xfeeefeee 0xcdcdcdcd 动态库加载失败 程序启动失败 程序运行权限 标准用户权限与管理员权限 outlook IM即时通讯 剪切板对通 HTML FORMAT 虚幻 python3.11 pyside6 界面 localhost LangGraph CLI JavaScript langgraph.json #开发语言 C 环境变量 进程地址空间 京东云 鸿蒙开发 移动开发 linux内核 gpt-3 Ubuntu 22.04 MySql 算力租赁 Charles vsxsrv 软件商店 信创 livecd systemtools HP打印机 AI代码编辑器 OpenSSH 监控k8s集群 集群内prometheus 脚本 autoware android-studio gru lvs Agentic Web NLWeb 自然语言网络 微软build大会 issue 局域网 Docker 部署es9 Docker部署es Docker搭建es9 Elasticsearch9 Docker搭建es v10 armbian u-boot dell服务器 HTML audio 控件组件 vue3 audio音乐播放器 Audio标签自定义样式默认 vue3播放音频文件音效音乐 自定义audio播放器样式 播放暂停调整声音大小下载文件 PVE minio 银河麒麟高级服务器 外接硬盘 Kylin 聊天室 gaussdb 致远OA OA服务器 服务器磁盘扩容 剧本 saltstack 机柜 1U 2U Featurize Mobilenet 分割 neo4j 数据库开发 database 灵办AI 稳定性 看门狗 Echarts图表 折线图 柱状图 异步动态数据 可视化效果 Ubuntu20.04 2.35 mac设置host ArkTS js Android ANDROID_HOME zshrc 更换镜像源 tftp nfs homebrew windows转mac ssh密匙 Mac配brew环境变量 gstreamer 流媒体 深度求索 私域 Open WebUI 3GPP 卫星通信 怎么卸载MySQL MySQL怎么卸载干净 MySQL卸载重新安装教程 MySQL5.7卸载 Linux卸载MySQL8.0 如何卸载MySQL教程 MySQL卸载与安装 ip协议 opengl tar 超级终端 多任务操作 提高工作效率 切换root Quixel Fab Unity UE5 游戏商城 虚幻引擎 react next.js 部署next.js rustdesk 文件分享 WebDAV SWAT 配置文件 服务管理 网络共享 腾讯云 asp.net大文件上传 asp.net大文件上传源码 ASP.NET断点续传 asp.net上传文件夹 asp.net上传大文件 .net core断点续传 .net mvc断点续传 图形化界面 AP配网 AK配网 小程序AP配网和AK配网教程 WIFI设备配网小程序UDP开 React Next.js 开源框架 锁屏不生效 aac 系统开发 binder framework 源码环境 docker-compose Ardupilot 单元测试 测试用例 WSL2 宝塔 Typore 7z ubuntu安装 linux入门小白 ajax 数据链路层 SSL证书 tcp unity3d frp 内网服务器 内网代理 内网通信 数据库系统 Headless Linux 信息收集 Anolis nginx安装 linux插件下载 状态管理的 UDP 服务器 Arduino RTOS llama.cpp 显示器 massa sui aptos sei 日志分析 系统取证 商用密码产品体系 janus cn2 带宽 ArtTS 版本 华为证书 HarmonyOS认证 华为证书考试 resolv.conf 药品管理 团队开发 SSH 服务 SSH Server OpenSSH Server excel PPI String Cytoscape CytoHubba x64 SIGSEGV xmm0 监控k8s 监控kubernetes mongodb 开放端口 访问列表 powerpoint Masshunter 质谱采集分析软件 使用教程 科研软件 冯诺依曼体系 Typescript 二级页表 #redis AD域 mount挂载磁盘 wrong fs type LVM挂载磁盘 Centos7.9 autodl 即时通信 NIO LDAP AD 域管理 dba 客户端 java-ee fpga linux cpu负载异常 SRS flink DICOM Qwen2.5-coder 离线部署 c/c++ 串口 进程优先级 调度队列 进程切换 openvpn server openvpn配置教程 centos安装openvpn initramfs Linux内核 Grub 星河版 NVM Node Yarn PM2 brew 磁盘挂载 新盘添加 partedUtil SystemV charles 鸿蒙面试 面试题 openstack Xen Hyper-V 自动化任务管理 Xinference rime numpy OpenManus 私有化 5090 显卡 AI性能 CAN 多总线 嵌入式实时数据库 authorized_keys 密钥 网络配置 路由配置 gitea 国标28181 视频监控 监控接入 语音广播 流程 SIP SDP 模拟退火算法 网络穿透 firefox 硅基流动 ChatBox 录音麦克风权限判断检测 录音功能 录音文件mp3播放 小程序实现录音及播放功能 RecorderManager 解决录音报错播放没声音问题 笔灵AI AI工具 大模型训练/推理 推理问题 mindie web linq sqlite Cache Aside Read/Write Write Behind 过期连接 材料工程 全文检索 服务发现 chrome 浏览器下载 chrome 下载安装 谷歌浏览器下载 make命令 makefile文件 iftop 网络流量监控 IP 地址 更新apt 安装hadoop前的准备工作 #pytorch 热榜 ubuntu24.04.1 Linux24.04 路径解析 ue4 着色器 ue5 Node-Red 编程工具 流编程 deekseek intellij idea top Linux top top命令详解 top命令重点 top常用参数 Apache Beam 批流统一 案例展示 数据分区 容错机制 Xshell 转换 写时拷贝 Linux的进程调度队列 活动队列 模拟器 pnet pnetlab 去中心化 汇编 lsof linux命令 xop RTP RTSPServer 推流 视频 pillow 在线预览 xlsx xls文件 在浏览器直接打开解析xls表格 前端实现vue3打开excel 文件地址url或接口文档流二进 模型联网 CherryStudio rsyslog 直播推流 iis vue-i18n 国际化多语言 vue2中英文切换详细教程 如何动态加载i18n语言包 把语言json放到服务器调用 前端调用api获取语言配置文件 毕昇JDK 浪潮信息 AI服务器 gunicorn lua flinkcdc mcp client mcp server 模型上下文协议 edge浏览器 prometheus数据采集 prometheus数据模型 prometheus特点 智慧农业 开源鸿蒙 动静态库 代码 对比 meld Beyond Compare DiffMerge pycharm安装 swift npm orbslam2 ubuntu22.04 RAGflow 管道 pipe函数 匿名管道 管道的大小 匿名管道的四种情况 北亚数据恢复 数据恢复 服务器数据恢复 数据库数据恢复 oracle数据恢复 上架 互联网医院 RoboVLM 通用机器人策略 VLA设计哲学 vlm fot robot 视觉语言动作模型 firewalld vr RBAC easyui gromacs 分子动力学模拟 MD 动力学模拟 设置代理 实用教程 cnn VGG网络 卷积层 池化层 RDP nacos Apache OpenNLP 句子检测 分词 词性标注 核心指代解析 数字化转型 Spring Boot es MySQL csapp 缓冲区 cpu 实时 使用 pyqt 磁盘监控 api X11 Xming 磁盘镜像 服务器镜像 服务器实时复制 实时文件备份 db 信创终端 中科方德 es6 qt6.3 g726 logstash 实时传输 AudioLM scrapy #提示词注入 #防护 #安全 #大模型 Hive环境搭建 hive3环境 Hive远程模式 VMware安装mocOS macOS系统安装 沙盒 kotlin iphone beautifulsoup harmonyosnext illustrator podman VLAN 企业网络 卡死 ros1 Noetic 20.04 apt 安装 蓝牙 LVM 磁盘分区 lvresize 磁盘扩容 pvcreate client-go 裸机装机 linux磁盘分区 裸机安装linux 裸机安装ubuntu 裸机安装kali 裸机 文件共享 企业风控系统 互联网反欺诈 DDoS攻击 SQL注入攻击 恶意软件和病毒攻击 Linux权限 xshell 权限掩码 粘滞位 pandas matplotlib 进程状态 僵尸进程 #运维 #openssh升级 #银河麒麟V10 SP10 #java #maven #java-ee #spring boot #jvm #kafka #tomcat 项目部署到linux服务器 项目部署过程 云桌面 AD域控 证书服务器 samba YashanDB 崖山数据库 yashandb 概率论 串口服务器 万物互联 工业自动化 工厂改造 teamspeak SFTP SFTP服务端 零售 log4j fd 文件描述符 milvus安装 CUPS 打印机 Qt5 苹果电脑装windows系统 mac安装windows系统 mac装双系统 macbook安装win10双 mac安装win10双系统 苹果电脑上安装双系统 mac air安装win dnf 进程等待 内存泄漏 linux/cmake 空Ability示例项目 讲解 办公自动化 pdf教程 Python基础 Python技巧 Docker引擎已经停止 Docker无法使用 WSL进度一直是0 镜像加速地址 Reactor docker搭建pg docker搭建pgsql pg授权 postgresql使用 postgresql搭建 显示过滤器 ICMP Wireshark安装 DeepSeek r1 大屏端 图搜索算法 考试 软考 MAVROS 四旋翼无人机 OS NVIDIA 可用性测试 risc-v 深度强化学习 深度Q网络 Q_Learning 经验回收 量子计算 CKA shell编程 kylin v10 麒麟 v10 audio vue音乐播放器 vue播放音频文件 Audio音频播放器自定义样式 播放暂停进度条音量调节快进快退 自定义audio覆盖默认样式 TrinityCore 魔兽世界 mock mock server 模拟服务器 mock服务器 Postman内置变量 Postman随机数据 dns 服务器管理 配置教程 网站管理 Carla solidworks安装 华为昇腾910b3 finebi gitlab服务器 网络接口 时间间隔 所有接口 多网口 显卡驱动 nvidia驱动 Tesla显卡 深度优先 排序算法 滑动验证码 反爬虫 cs144 接口隔离原则 高考 省份 年份 分数线 数据 黑苹果 邮件APP 免费软件 GaN HEMT 氮化镓 单粒子烧毁 辐射损伤 辐照效应 Ubuntu共享文件夹 共享目录 Linux共享文件夹 网络文件系统 pyicu 推荐算法 vm chrome历史版本下载 chrominum下载 数码相机 全景相机 设备选择 实用技巧 数字空间 软硬链接 文件 iperf3 带宽测试 mq System V共享内存 进程通信 Helm k8s集群 compose 隐藏目录 管理器 通配符 进程池实现 百度云 智能体 Jenkins流水线 声明式流水线 双系统 多系统 Nginx报错413 Request Entity Too Large 的客户端请求体限制 驱动器映射 批量映射 win32wnet模块 网络驱动器映射工具 弹性 sse_starlette Starlette FastAPI Server-Sent Eve 服务器推送事件 直播 oneapi 流式接口 nextjs reactjs TCP服务器 qt项目 qt项目实战 qt教程 大数据平台 XCC Lenovo Web服务器 多线程下载工具 PYTHON 框架 OSB Oracle中间件 SOA MultiServerMCPC load_mcp_tools load_mcp_prompt ueditor导入word 客户端/服务器架构 分布式应用 三层架构 Web应用 跨平台兼容性 SQI iOS Server Trust Authentication Challenge 前端项目部署 微前端 uni-popup报错 连接服务器超时 点击屏幕重试 uniapp编译报错 uniapp vue3 imported module TypeError HarmonyOS5 sonoma 自动更新 本地部署AI大模型 Mac内存不够用怎么办 mysql安装报错 windows拒绝安装 termux 环境搭建 csrf 线程同步 线程互斥 条件变量 Metastore Catalog 调试方法 Valgrind 内存分析工具 离线部署dify 实习 视觉检测 QT 5.12.12 QT开发环境 Ubuntu18.04 DenseNet 自动化编程 读写锁 Zoertier 内网组网 2024 2024年上半年 下午真题 答案 WireGuard 异地组网 IO rtc 软件安装 分类 dataworks maxcompute pytorch3d #llama #docker #kimi zotero 同步失败 echarts 信息可视化 网页设计 ecm bpm token sas 远程看看 远程协助 思科模拟器 思科 Cisco 大文件分片上传断点续传及进度条 如何批量上传超大文件并显示进度 axios大文件切片上传详细教 node服务器合并切片 vue3大文件上传报错提示错误 vu大文件秒传跨域报错cors 服务器ssl异常解决 ECS服务器 漫展 TCP 多进程 TCP回显服务器 VMware安装Ubuntu Ubuntu安装k8s Linux的基础指令 HiCar CarLife+ CarPlay QT RK3588 软链接 硬链接 大版本升 升级Ubuntu系统 可执行程序 OpenCore powerbi JAVA uni-app x 进程程序替换 execl函数 execv函数 execvp函数 execvpe函数 putenv函数 vr看房 在线看房系统 房产营销 房产经济 三维空间 libtorch pyautogui P2P HDLC docker部署翻译组件 docker部署deepl docker搭建deepl java对接deepl 翻译组件使用 RAGFLOW webview 漏洞报告生成 BCLinux Linux系统编程 冯诺依曼体系结构 BMS 储能 飞书 CPU Invalid Host allowedHosts IIS Hosting Bundle .NET Framework vs2022 银河麒麟桌面操作系统 Kylin OS BMC 带外管理 备份SQL Server数据库 数据库备份 傲梅企业备份网络版 asm ABAP MQTT协议 消息服务器 lighttpd安装 Ubuntu配置 Windows安装 服务器优化 CNNs 图像分类 socket 证书 签名 大学大模型可视化教学 全球气象可视化 大学气象可视化 JavaWeb 回显服务器 Echo 教程 deepseek r1 中兴光猫 换光猫 网络桥接 自己换光猫 ci/cd 用户缓冲区 支付 微信支付 开放平台 设备树 Linux find grep 免密 公钥 私钥 权限 devmem cuda驱动 debezium 数据变更 数据迁移 VUE Mysql openssh sublime text MAC地址 #华为 #harmonyos #手机 金仓数据库 2025 征文 数据库平替用金仓 bat qt5 客户端开发 Alexnet qps 高并发 GeneCards OMIM TTD Isaac Sim 虚拟仿真 GRE Reactor反应堆 LLaMA-Factory NLP 开发 Makefile Make 客户端和服务器端 TraeAgent mysql 8 mysql 8 忘记密码 #apache #flink c EMQX 通信协议 Ubuntu 24.04.1 轻量级服务器 windows日志 kamailio sip VoIP WebRTC IIS服务器 IIS性能 日志监控 联想开天P90Z装win10 netty 半虚拟化 硬件虚拟化 Hypervisor VNC 飞牛 client close 规格说明书 设计规范 http状态码 请求协议 ftp 相机标定 观察者模式 HTTP3 全双工通信 多路复用 实时数据传输 bcompare 键盘 ruby photoshop SPI 源码软件 electron 蓝耘科技 元生代平台工作流 ComfyUI docker run 数据卷挂载 交互模式 运维监控 camera Arduino VM虚拟机 axure 轮播图 学习路线 python高级编程 Ansible elk stack AOD-PONO-Net 图像去雾技术 MinerU Playwright MCP 机器人操作系统 容器化 DeepSeek-R1 API接口 ocr 做raid 装系统 Flask Waitress Gunicorn uWSGI freebsd 智能音箱 智能家居 小番茄C盘清理 便捷易用C盘清理工具 小番茄C盘清理的优势尽显何处? 教你深度体验小番茄C盘清理 C盘变红?!不知所措? C盘瘦身后电脑会发生什么变化? 上传视频文件到服务器 uniApp本地上传视频并预览 uniapp移动端h5网页 uniapp微信小程序上传视频 uniapp app端视频上传 uniapp uview组件库 联机 僵尸毁灭工程 游戏联机 开服 Webserver 异步 RK3568 pxe 科勘海洋 数据采集浮标 浮标数据采集模块 jvm调优 LRU策略 内存增长 垃圾回收 #游戏 #云计算 mysql离线安装 mysql8.0 英语 MAC 移动端开发 泰山派 根文件系统 Linux的进程控制 编译器 #数据库 #apache composer 输入法 autogen openai Linux的进程概念 自动化测试框架 重构 #python #信息可视化 #大数据 #python #毕业设计 #Hadoop #SPark #数据挖掘 孤岛惊魂4 DeepSeek行业应用 Heroku 网站部署 黑客技术 ldap 音乐库 PTrade QMT 量化股票 全栈 raid proto actor actor model Actor 模型 英语六级 加密 医疗APP开发 app开发 USB转串口 AList webdav fnOS Linux无人智慧超市 LInux多线程服务器 QT项目 LInux项目 单片机项目 Maven export env 变量 STL firewall 编译 烧录 visual studio Ubuntu22.04 美食 根目录 IMX317 MIPI H265 VCU lio-sam SLAM 论文阅读 输入系统 AzureDataStudio LInux VMware Tools vmware tools安装 vmwaretools安装步骤 vmwaretools安装失败 vmware tool安装步骤 vm tools安装步骤 vm tools安装后不能拖 vmware tools安装步骤 d3d12 桥接模式 windows虚拟机 虚拟机联网 蜂窝网络 频率复用 射频单元 无线协议接口RAN 主同步信号PSS Serverless 内存管理 电子器件 二极管 三极管 青少年编程 编程与数学 c盘 磁盘清理 gin #YOLO #目标检测 #YOLOv13 UDP的API使用 银河麒麟操作系统 swoole gateway Clion Nova ResharperC++引擎 Centos7 远程开发 uni-file-picker 拍摄从相册选择 uni.uploadFile H5上传图片 微信小程序上传图片 OD机试真题 华为OD机试真题 服务器能耗统计 阿里云ECS 配置原理 内网渗透 靶机渗透 工厂方法模式 电子信息工程 Lenovo System X GNOME Scoket 套接字 blender three.js 数字孪生 笔记本电脑 Ubuntu Server Ubuntu 22.04.5 Redis Desktop conda配置 conda镜像源 csrutil mac恢复模式进入方法 恢复模式 grep GKI KMI tar.gz tar.xz linux压缩 direct12 Mac部署 Ollama模型 Openwebui 配置教程 AI模型 PATH 命令行参数 main的三个参数 react Native 实战项目 入门 精通 ssh远程登录 springboot远程调试 java项目远程debug docker远程debug java项目远程调试 springboot远程 ceph curl wget virtualbox 4 - 分布式通信、分布式张量 软路由 Arduino下载开发板 esp32开发板 esp32-s3 开启关闭防火墙 WebFuture 思科实验 高级网络互联 #python3.11 vscode1.86 1.86版本 ssh远程连接 宝塔面板访问不了 宝塔面板网站访问不了 宝塔面板怎么配置网站能访问 宝塔面板配置ip访问 宝塔面板配置域名访问教程 宝塔面板配置教程 live555 源码剖析 rtsp实现步骤 流媒体开发 存储数据恢复 raid5数据恢复 磁盘阵列数据恢复 端口测试 镜像下载 跨域请求 免费 mvc 零日漏洞 CVE 决策树 医药 检索增强生成 文档解析 大模型垂直应用 Linux PID 开发人员主页 机床 仿真 课件 虚拟现实 教学 课程 iptables #tomcat #架构 #servlet linux安装配置 免费域名 域名解析 rancher 大模型技术 本地部署大模型 Doris搭建 docker搭建Doris Doris搭建过程 linux搭建Doris Doris搭建详细步骤 Doris部署 命令模式 web环境 本地知识库 链表 dnn vasp安装 服务器时间 银河麒麟服务器操作系统 系统激活 wsgiref Web 服务器网关接口 LORA 智能电视 pyscenic 生信教程 多端开发 智慧分发 应用生态 鸿蒙OS 小游戏 五子棋 CTE AGE bpf bpfjit pcap GoogLeNet AnythingLLM AnythingLLM安装 聚类 目标跟踪 OpenVINO 推理应用 Sealos 图片增强 增强数据 K8S k8s管理系统 电脑操作 wpf dsp开发 文件权限 muduo库 打包工具 磁盘满 laravel file server http server web server java-rocketmq rtsp服务器 rtsp server android rtsp服务 安卓rtsp服务器 移动端rtsp服务 大牛直播SDK EtherCAT转Modbus EtherCAT转485网关 ECT转485串口服务器 ECT转Modbus485协议 ECT转Modbus串口网关 ECT转Modbus串口服务器 java-zookeeper 机架式服务器 1U工控机 国产工控机 DELL R730XD维修 全国服务器故障维修 多媒体 网络带宽 问题排查 服务器租用 物理机 IP配置 netplan 一切皆文件 热键 octomap_server linux常用命令 uboot 部署方案 IMX6ULL Ubuntu 24 常用命令 Ubuntu 24 Ubuntu vi 异常处理 WebVM copilot llamafactory 微调 Qwen 服务注册与发现 DrissionPage 服务 SSM 项目实战 页面放行 迭代器模式 filezilla 无法连接服务器 连接被服务器拒绝 vsftpd 331/530 W5500 OLED u8g2 充电桩 欧标 OCPP C# MQTTS 双向认证 emqx nosql 动态规划 网站 cocos2d 3dcoat 教育电商 GPU状态 网络IO 队列 数据库占用空间 华为OD机考 机考真题 需要广播的服务器数量 SPP 嵌入式系统开发 shell脚本免交互 expect linux免交互 数据库管理 mac cocoapods macos cocoapods 苹果 Ubuntu DeepSeek DeepSeek Ubuntu DeepSeek 本地部署 DeepSeek 知识库 DeepSeek 私有化知识库 本地部署 DeepSeek DeepSeek 私有化部署 su sudo sudo原理 su切换 post.io 企业邮箱 搭建邮箱 本地环回 bind SoC 原子操作 AXI time时间函数 vb #adb #数据库开发 #mysql #sql VM搭建win2012 win2012应急响应靶机搭建 攻击者获取服务器权限 上传wakaung病毒 应急响应并溯源 挖矿病毒处置 应急响应综合性靶场 VPS DOIT 四博智联 温湿度数据上传到服务器 Arduino HTTP deepseek-r1 大模型本地部署 金仓数据库概述 金仓数据库的产品优化提案 Putty 花生壳 匿名FTP 邮件传输代理 SSL支持 chroot监狱技术 openvino 信号 win向maOS迁移数据 单用户模式 I/O 设备管理 国产数据库 瀚高数据库 下载安装 import save load 迁移镜像 netlink libnl3 finalsheel xfce PCB fork 进程管理 #bright data #大数据 网卡的名称修改 eth0 ens33 ping++ junit hibernate googlecloud ardunio BLE 主板 电源 deepseak 豆包 KIMI 腾讯元宝 文件存储服务器组件 宠物 免费学习 宠物领养 宠物平台 支持向量机 vCenter服务器 ESXi主机 监控与管理 故障排除 日志记录 建站 进度条 序列化反序列化 keepalived 代理服务器 权限命令 特殊权限 用户管理 sublime text3 图文教程 VMware虚拟机 macOS系统安装教程 macOS最新版 虚拟机安装macOS Sequoia GRANT REVOKE 容器清理 大文件清理 空间清理 进程创建 进程退出 端口 原创作者 #数据结构 #c++ #链表 #笔记 telnet 远程登录 问题解决 自学笔记 小米 澎湃OS redhat 电视剧收视率分析与可视化平台 富文本编辑器 scapy 集成 个人博客 ssrf 失效的访问控制 asp.net大文件上传下载 VMware创建虚拟机 小智AI服务端 xiaozhi TTS Web应用服务器 软件开发 三次握手 磁盘IO iostat 快速入门 VR手套 数据手套 动捕手套 动捕数据手套 分析解读 cmos Cookie 高德地图 鸿蒙接入高德地图 HarmonyOS5.0 导航栏 PostgreSQL15数据库 elementui 若依框架 vscode-server ubuntu18.04 影刀 #影刀RPA# 抗锯齿 deployment daemonset statefulset cronjob 能效分析 图论 coze扣子 AI口播视频 飞影数字人 coze实战 TiDB测试集群 高效远程协作 TrustViewer体验 跨设备操作便利 智能远程控制 Socket EtherNet/IP串口网关 EIP转RS485 EIP转Modbus EtherNet/IP网关协议 EIP转RS485网关 EIP串口服务器 聊天服务器 Dedicated Host Client 无头主机 hugo banner 网络原理 web开发 惠普服务器 惠普ML310e Gen8 惠普ML310e Gen8V2 鼠标 基础入门 mm-wiki搭建 linux搭建mm-wiki mm-wiki搭建与使用 mm-wiki使用 mm-wiki详解 基础环境 diskgenius systemctl Python学习 Python编程 Unlocker CentOS ubuntu24 vivado24 流水线 脚本式流水线 源代码 linux子系统 忘记密码 nano proxy_pass 2025一带一路金砖国家 金砖国家技能大赛 技能发展与技术创新大赛 首届网络系统虚拟化管理与运维 比赛样题 openGauss #n8n #n8n工作流 #n8n教程 #n8n本地部署 #n8n自动化工作流 #n8n使用教程 #n8n工作流实战案例 阻塞队列 生产者消费者模型 服务器崩坏原因 UDP 游戏机 windwos防火墙 defender防火墙 win防火墙白名单 防火墙白名单效果 防火墙只允许指定应用上网 防火墙允许指定上网其它禁止 服务器主板 AI芯片 skynet 服务器部署 本地拉取打包 Qualcomm WoS QNN AppBuilder 券商 股票交易接口api 类型 特点 股票量化接口 股票API接口 腾讯云服务器 轻量应用服务器 linux系统入门 asp.net messages dmesg 粘包问题 EMUI 回退 降级 jdk11安装 jdk安装 openjdk11 openjdk11安装 分布式总线 杂质 leetcode TCP协议 efficientVIT YOLOv8替换主干网络 TOLOv8 烟花代码 烟花 元旦 飞牛nas fnos 钉钉 工具分享 ROS1/ROS2 dockerfile Wayland 麒麟kos 网络检测 ping #debian SVN Server tortoise svn 同步 备份 移动云 vSphere vCenter 大文件秒传跨域报错cors DigitalOcean GPU服务器购买 GPU服务器哪里有 GPU服务器 创意 社区 西门子PLC 通讯 gradle 代码托管服务 弹性服务器 bootstrap RustDesk 搭建服务器 高级IO epoll wait waitpid exit cpolar 体验鸿蒙电脑操作系统 Windows电脑能装鸿蒙吗 Linux环境 子网掩码 公网IP 私有IP 软负载 并查集 NLP模型 Docker快速入门 IPv6测试 IPv6测速 IPv6检测 IPv6查询 registries 搜狗输入法 中文输入法 回归 ipv6 光猫设置 路由器设置 code-server Spring Security MI300x 备选 调用 示例 能力提升 面试宝典 IT信息化 IDEA VS Code 大厂程序员 硅基计算 碳基计算 认知计算 生物计算 AGI 系统架构设计 软件哲学 程序员实现财富自由 slave bug定位 缺陷管理 材质 贴图 支付宝小程序 云开发 Linux awk awk函数 awk结构 awk内置变量 awk参数 awk脚本 awk详解 trea idea lvm MDK 嵌入式开发工具 Maxkb RAG技术 Linux的基础开发工具 ebpf #DevEco Studio #HarmonyOS Next #mobaxterm #termius #electerm #tabby #termcc 多路转接 SSH 密钥生成 SSH 公钥 私钥 生成 k8s集群资源管理 实战案例 高可用 HBase分布式集群 HBase环境搭建 HBase安装 HBase完全分布式环境 network NetworkManager pavucontrol 蓝牙耳机 人工智能作画 #stm32 #单片机 #freeRTOS #php MNN 显示管理器 lightdm gdm Erlang OTP gen_server 热代码交换 事务语义 算力 干货分享 黑客工具 密码爆破 数字证书 签署证书 行情服务器 股票交易 速度慢 切换 caddy 站群服务器 MateBook MQTT Broker GMQT 访问公司内网 服务网格 istio uv Linux的权限 终端 java毕业设计 微信小程序医院预约挂号 医院预约 医院预约挂号 小程序挂号 C/C++ 桶装水小程序 在线下单送水小程序源码 桶装水送货上门小程序 送水小程序 订水线上商城 webgis cesium 程序地址空间 云盘 安全组 pi0 lerobot aloha act CAN总线 #VMware #虚拟机 jina 产测工具框架 管理框架 浏览器开发 AI浏览器 AI Agent 字节智能运维 WebUI DeepSeek V3 GRUB引导 Linux技巧 lb 协议 solr anythingllm open-webui docker国内镜像 BitTorrent 搜索 简单工厂模式 huggingface WIFI7 无线射频 高通 射频校准 射频调试 射频匹配 并集查找 换根法 树上倍增 iDRAC R720xd 雨云服务器 加解密 Yakit yaklang 像素流送api 像素流送UE4 像素流送卡顿 像素流送并发支持 蓝桥杯C++组 错误代码2603 无网络连接 2603 华为OD 可以组成网络的服务器 ueditor导入pdf ueditor导入ppt AWS 环境 非root 光电器件 LED js逆向 alphafold3 #vscode #编辑器 #ide #AI #MCP termius iterm2 Tabs组件 TabContent TabBar TabsController 导航页签栏 滚动导航栏 AppLinking 应用间跳转 影视app 线程安全 时序数据库 iotdb #nacos cd 目录切换 容器技术 通用环境搭建 openresty mcp-server rtsp转rtmp 海康rtsp转rtmp 摄像头rtsp到rtmp rtsp转发 rtsp摄像头转rtmp rtsp2rtmp #经验分享 #kubernetes #数据结构 NAT转发 NAT Server rtp WinRM TrustedHosts XFS xfs文件系统损坏 I_O error AI agent 高效日志打印 串口通信日志 服务器日志 系统状态监控日志 异常记录日志 qwen2vl 雾锁王国 算法协商 故障排查 Web测试 pve #阿里云 #ai #AI编程 捆绑 链接 谷歌浏览器 youtube google gmail alias unalias 别名 HarmonyOS NEXT 原生鸿蒙 软件卸载 系统清理 vpn DIFY 多产物 Bandizip Mac解压 Mac压缩 压缩菜单 文件清理 应急响应 CTF EulerOS 版本对应 Linux 发行版 企业级操作系统 RHEL 开源社区 南向开发 北向开发 MinIO 手机 #database #macos #爬虫 Radius webstorm opcua opcda KEPServer安装 RTMP 应用层 流量运营 繁忙 解决办法 替代网站 汇总推荐 AI推理 ECT转Modbus协议 EtherCAT转485协议 ECT转Modbus网关 负载测试 事件驱动 自定义登录信息展示 motd 美化登录 实时云渲染 云渲染 3D推流 MCP 服务器 JADX-AI 插件 视频服务器 软件高CPU占用 ProcessExplorer Process Hacker System Informer Windbg 线程的函数调用堆栈 小艺 Pura X 微信分享 Image wxopensdk 多层架构 解耦 macOS retry 重试机制 子系统 wifi驱动 CodeBuddy首席试玩官 系统完整性 越狱设备 系统升级 16.04 Termius Vultr 远程服务器 HDC2025 HarmonyOS 6 #分区 机械臂 静态IP nacos容器环境变量 docker启动nacos参数 nacos镜像下载 NAT docker安装mysql win下载mysql镜像 mysql基本操作 docker登陆私仓 docker容器 deepseek与mysql #openssh #计算机网络 #tcp/ip 根服务器 多个客户端访问 IO多路复用 TCP相关API 需求分析 WebServer oracle fusion oracle中间件 zerotier c/s 矩池云 数据下载 数据传输 rtmp eventfd 高性能 cordova 跨域开发 国产芯片 视频直播物理服务器租用 物理服务器 物理机租用 #合成孔径雷达 #GAMMA #InSAR #飞算Java炫技赛 #Java开发 safari 查看显卡进程 fuser 空间 查错 互联网实用编程指南 ps命令 时间轮 Navigation 路由跳转 鸿蒙官方推荐方式 鸿蒙原生开发 路径规划 CKEditor5 CUDA Toolkit 分布式锁 MVVM 鸿蒙5.0 备忘录应用 ai编程 CLion Web3 Telegram fabric ICMPv6 AI控制浏览器 Browser user dockercompose安装 compose.yml文件详解 dockercompose使用 #chrome #电脑上不了网 #IP设置 #网卡驱动 #路由器设置 #wifi设置 #网络防火墙 #无法连接到这个网络 asi_bench SEO 社交电子 sqlite3 技术共享 浏览器自动化 access blocked 破解 anonymous 独立服务器 Windows 11 重装电脑系统 Java 日志框架 Log4j2 Logback SLF4J 结构化日志 企业级应用 BIO Java socket Java BIO Java NIO Java 网络编程 ESP8266简单API服务器 Arduino JSON 集群 科研绘图 生信服务器 tengine web负载均衡 WAF proteus 元服务 应用上架 MacOS录屏软件 CentOS Stream fonts-noto-cjk 跨平台 nmcli #技能认证 #ansible #role #galaxy #ansible-galaxy IO模型 k8s资源监控 annotations自动化 自动化监控 监控service 监控jvm selete 解决方案 底层实现 知行EDI 电子数据交换 知行之桥 EDI 红黑树封装map和set containerd 恒玄BES 触觉传感器 GelSight GelSightMini GelSight触觉传感器 Cilium requests python库 机床主轴 热误差补偿 风电齿轮箱 故障诊断 物理-数据融合 预测性维护 #udp #网络通信 #网络协议 #Socket win11 无法解析服务器的名称或地址 软件定义数据中心 sddc SSL 域名 直流充电桩 服务器部署ai模型 KingBase IPMITOOL 硬件管理 clickhouse 互信 VPN wireguard AimRT Qt QModbus OpenManage accept zipkin #默认分类 webgl springcloud regedit 开机启动 Attention Office Linux指令 Windows应急响应 webshell 网络攻击防御 网络攻击 学习笔记 HarmonyOS 5开发环境 对话框showDialog showActionMenu 操作列表ActionSheet CustomDialog 文本滑动选择器弹窗 消息提示框 警告弹窗 FreeLearning 嵌入式软件 RTOS CMake 自动化编译工具 PDF 图片 表格 文档扫描 发票扫描 #矫平机 #校平机 #铁 #钢 #conda 代理 docker部署Python 李心怡 dock 加速 达梦 DM8 scikit-learn 网易邮箱大师 CAD瓦片化 栅格瓦片 矢量瓦片 Web可视化 DWG解析 金字塔模型 mapreduce 定义 核心特点 优缺点 适用场景 物理层 BiSheng Jenkins 配置凭证 进程操作 理解进程 线性代数 #mcp #浏览器自动化 #安全 #nginx #web安全 #gpt #chatgpt 架构与原理 工业4.0 域名服务 DHCP 符号链接 配置 代码规范 联网 easyconnect vue在线预览excel和编辑 vue2打开解析xls电子表格 浏览器新开页签或弹框内加载预览 文件url地址或接口二进制文档 解决网页打不开白屏报错问题 流量 aiohttp asyncio AI导航站 funasr asr 语音转文字 cangjie webserver 魔百盒刷机 移动魔百盒 机顶盒ROM 玩机技巧 软件分享 软件图标 Ark-TS语言 模拟实现 历史版本 下载 玩游戏 提示词 ubantu tvm安装 深度学习编译器 云解析 云CDN SLS日志服务 云监控 #http #OCCT #Qt #rockylinux #rhel #操作系统 #系统安装 #kali linux上传下载 etl docker命令大全 端口聚合 windows11 影刀证书 分享 改行学it 线程同步与互斥 #端口 网络犯罪 人工智能 #飞书 宕机切换 服务器宕机 矩阵 超融合 云耀服务器 #STC8 #STM32 udp回显服务器 哥sika SpringBoot 开闭原则 KingbaseES Bluedroid ollama下载加速 macbook qtcreator 顽固图标 启动台 nginx默认共享目录 端口开放 Bluetooth 配对 本地不受DeepSeek 命令键 C++11 lambda 包装类 coffeescript Eigen vmvare infini-synapse mysql8.4.5 Bilibili B站 skywalking #电脑 #经验分享 查看 ss 数字比特流 模拟信号 将二进制数据映射到模拟波形上 频谱资源 振幅频率相位 载波高频正弦波 5分钟快速学 docker入门 代理配置 企业级DevOps rxjava docker search docker 失效 docker pull失效 docker search超时 #redis #缓存 #网络协议 #ip Wi-Fi 查询数据库服务IP地址 SQL Server jetty undertow 相差8小时 UTC 时间 URL 田俊楠 win服务器架设 windows server 海康 RNG 状态 可复现性 随机数生成 机器人仿真 模拟仿真 EF Core 客户端与服务器评估 查询优化 数据传输对象 查询对象模式 labview gpu siteground siteground安装wp 一键安装wordpress 服务器安装wordpress 泛微OA #其他 threejs 3D ubuntu 18.04 自定义shell当中管道的实现 匿名和命名管道 clipboard 剪贴板 剪贴板增强 Windows Hello 摄像头 指纹 生物识别 HarmonyOS SDK Map Kit 地图 恢复 黑马 苍穹外卖 Win10修改MAC #comfyui figma 交叉编译 WLAN Trae叒更新了? hosts hosts文件管理工具 sql注入 gerrit 电子学会 usb typec FCN 扩展错误 myeclipse #神经网络 #自然语言处理 #语言模型 HAProxy h.264 Nuxt.js ux 执法记录仪 智能安全帽 smarteye chfs ubuntu 16.04 搭建个人相关服务器 服务器正确解析请求体 安防软件 WINCC 充电桩平台 充电桩开源平台 风扇散热策略 曙光 海光 宁畅 中科可控 事件分析 边缘服务器 利旧 AI识别 Modbustcp服务器 CSDN开发云 openlayers bmap tile server EasyTier #aws #搜索引擎 #elasticsearch #全文检索 av1 电视盒子 navicat 合成模型 扩散模型 图像生成 强制清理 强制删除 mac废纸篓 接口返回 Github加速 Mac上Github加速 Chrome浏览器插件 亲测 English redisson 语法 生活 UFW VAD 视频异常检测 VAR 视频异常推理 推理数据集 强化微调 GRPO 系统架构设计师 #目标跟踪 #云原生 #阿里云 内网环境 佛山戴尔服务器维修 佛山三水服务器维修 sysctl.conf vm.nr_hugepages 业界资讯 SysBench 基准测试 迁移指南 授时服务 北斗授时 shard jQuery 云服务器租用 FreeRTOS 报警主机 豪恩 VISTA120 乐可利 霍尼韦尔 枫叶 时刻 参数服务器 分布式计算 数据并行 协作 转流 rtsp取流 rtmp推流 #哈希算法 #散列表 Ubuntu 24.04 搜狗输入法闪屏 Ubuntu中文输入法 红黑树 android-ndk RHCE 智能手表 Pura80 WATCH 5 nvm安装 FreeFileSync 定时备份 #前端 idm MobileNetV3 最新微服务 Searxng 工作流自动化 AI智能体 scala #iotdb #时序数据库 #web安全 #网络安全 #渗透测试 #计算机 #转行 #职场发展 #干货分享 xss Unity插件 Async注解 动态域名 java18 #c# #OPCUA 极限编程 Mac软件 GDB调试 Ubuntu环境 四层二叉树 断点设置 安全整改 黑屏 #WSL #信息可视化 #qml #qt linux 命令 sed 命令 医院门诊管理系统 仓库 共享 设置 分布式数据库 集中式数据库 业务需求 选型误 微信自动化工具 微信消息定时发送 手动分区 实时语音识别 流式语音识别 概率与统计 随机化 位运算 几何计算 数论 视频会议 #图像处理 #部署配置docker #容器化 压测 电商平台 cpp-httplib hexo rtcp 站群 多IP 静态NAT OpenAI FS100P 小亦平台 运维问题解决方法 gaussdb问题解决 bert 食用文档 whistle 九天画芯 铁电液晶 显示技术 液晶产业 技术超越 视频号 vsode #Dify #sql #学习 #自动化测试 #软件测试 xpath定位元素 proxy模式 uprobe isaacgym 中文分词 NGINX POD #数据库 #nginx #性能优化 #科技 #kubernetes sentinel TrueLicense 高效I/O 火山引擎 制造 开启黑屏 虚拟主机 物理服务器租用 连接失败 Mosquitto 激光雷达 镭眸 汽车 路由器 PP-OCRv5 ubuntu20.04 OCR mac完美终端 #Linux #Ubuntu #ubuntu24 #ubuntu2404 #ubuntu安装 #sudo #macos26 #启动台 #vue.js #机器人 项目部署 ELF加载 broadcom pow 指数函数 优化 敏捷开发 #时序数据库 #iotdb #重构 #excel #PG处理POI分类数据 #Java处理POI分类数据 #ApachePOI数据处理 #高德POI分类数据存储 #POI数据分类存储 vscode 1.86 AISphereButler 物理机服务器 #面试 #职场和发展 arkts arkui 效率 ohmyzsh #小程序 集群管理 N8N OpenTiny vue2 恒源云 能源 tty2 dos 批处理 日期 IT 护眼模式 智能问答 Milvus UDS Bootloader lrzsz 模板 泛型编程 选择排序 地平线5 机架式 IDC pikachu靶场 XSS漏洞 XSS DOM型XSS 统信uos #美食 #django #flask #node.js mujoco NTP服务器 重置密码 #shell #脚本 cp 进度显示 #华为云 #云服务部署 #搭建AI #Flexus X实例 fast watchtower homeassistant Modbus TCP 集合 List #架构 #分布式 #单机架构 #微服务 #vue.js authing 低成本 #统信uos #RAG 风扇控制软件 实时日志 logs #驱动 #嵌入式 基本指令 #物联网 #算法 #洛谷 #强连通分量 #缩点 服务器托管 云托管 数据中心 idc机房 #后端 #计算机网络 #网络攻击模型 #tensorflow #pip 几何绘图 三角函数 #嵌入式硬件 Excel转json Excel转换json Excel累加转json python办公 mobaxterm #系统架构 #数据库架构 #安全架构 #端口占用 #系统详情 #jdk #编程 #spring boot #截图工具 责任链模式 信奥 guava SonarQube #HTML #核心知识点 #web #知识点 #网页开发 #postgresql #inlong #pycharm #c语言 #程序人生 #golang #unity #着色器 #mc #服务器搭建 #mc服务器搭建 #mc服务器 #笔记 #intellij-idea #idea #intellij idea #需求分析 #区块链 #数据分析 #Linux的基础IO #jvm #毕设 #租房管理系统 #论文 #虚拟地址 #虚拟地址空间 #写时拷贝 #系统架构 A2A #iot #图论 #深度优先 WinCC OT与IT SCADA 智能制造 MES #echarts #https #nginx配置 #nginx案例 #nginx详解 细胞分割 计数自动化 图像分析 #GESP C++ #C++程序竞赛 #信奥赛 #jenkins #音视频 #AIGC #开源 #测评 #CCE #Dify-LLM #Flexus #腾讯云 #VNC #Agent #智能运维 #AI开发平台 #AI工具链 #智能路由器 #NAT #信息与通信 #进程状态 #僵尸进程 #孤儿进程 #挂起 #eureka #rocketmq #零拷贝 dfs #node.js #AI编程 #低代码 #Ollama #agent #向量库 #fastAPI #langchain #tcp/ip #RBAC桎梏 #角色爆炸 #静态僵化 #授权对象体系 #组织维度 #业务维度 #进程优先级 #进程切换 #Linux调度算法 #寄存器 #物联网 #进程 #fork #深信服运维安全管理系统 #远程命令执行漏洞 #MCP协议 #typescript #实战指南 #MCP服务器 #深度学习 #概率论 #gitlab #github #leetcode #神经网络 #Linux的进程间通信 #CMake #Debian #CentOS #实时流处理 #设备故障预测 #Flink #DeepSeek #蓝耘智算 #微信小程序 #配置教程 #入门教程 #安装教程 #图文教程 #github #Cookie #Session #HTTP #硬盘读取 #硬盘读取失败 #MAC电脑读取硬盘 #LoTDB #开源 #AI写作 #struts #raid #raid阵列 #VMware #VMWare Tool #beego #go1.19 #beautifulsoup #Apache IoTDB #android #缓冲区 #Linux #elasticsearch #list #stl #Linux的进程信号 #react.js #javascript #React 编译器 #自动优化 #记忆化技术 #重新渲染优化 #使用教程 #unix #intellij-idea #内网穿透 #矩阵 #ruby #哈希表 #gitee #权限