Skip to content

Commit 56fe50c

Browse files
committed
kex-gss is new in debian11
1 parent 11cbe95 commit 56fe50c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gpu/install_gpu_driver.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,8 @@ function mount_ramdisk(){
19451945
function harden_sshd_config() {
19461946
# disable sha1 and md5 use in kex and kex-gss features
19471947
declare -A feature_map=(["kex"]="kexalgorithms")
1948-
if ( ! is_ubuntu || ge_ubuntu20 ) ; then feature_map["kex-gss"]="gssapikexalgorithms" ; fi
1948+
if ( is_rocky || version_ge "${DATAPROC_IMAGE_VERSION}" "2.1" ) ; then
1949+
feature_map["kex-gss"]="gssapikexalgorithms" ; fi
19491950
for ftr in "${!feature_map[@]}" ; do
19501951
export feature=${feature_map[$ftr]}
19511952
sshd_config_line=$(

0 commit comments

Comments
 (0)