mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-28 08:26:59 +08:00
riot: bj1 -> proxy
This commit is contained in:
parent
9a4c9556f6
commit
8dfc524385
|
@ -34,7 +34,7 @@ get_server_meta()
|
||||||
SSH_OPTIONS='-o ProxyJump="ssh@nasp.ob.ac.cn:36022"'
|
SSH_OPTIONS='-o ProxyJump="ssh@nasp.ob.ac.cn:36022"'
|
||||||
;;
|
;;
|
||||||
"" )
|
"" )
|
||||||
SERVER=bj1.ob.ac.cn
|
SERVER=proxy.beardic.cn
|
||||||
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")
|
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")
|
||||||
tmp=${tmp:0:4}
|
tmp=${tmp:0:4}
|
||||||
PORT=$((tmp+36000))
|
PORT=$((tmp+36000))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user