From 3223ca53fa8a1a16cfe9176072cc48790708c5d8 Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Thu, 30 Nov 2023 00:20:53 +0800 Subject: [PATCH] riot: proxy -> ssh --- scripts/riot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/riot b/scripts/riot index c677a6a..f8e18e0 100755 --- a/scripts/riot +++ b/scripts/riot @@ -70,8 +70,8 @@ get_server_meta() { RET_JUMP_SERVER="ssh@nasp.ob.ac.cn:36022" RET_TRUST_SERVER=1 ;; - x|proxied ) - RET_HOSTNAME=proxy.beardic.cn + x|ssh ) + RET_HOSTNAME=ssh.beardic.cn local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]") tmp=${tmp:0:4} RET_PORT=$((10#$tmp+36000))