mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-28 05:57:00 +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"'
|
||||
;;
|
||||
"" )
|
||||
SERVER=bj1.ob.ac.cn
|
||||
SERVER=proxy.beardic.cn
|
||||
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")
|
||||
tmp=${tmp:0:4}
|
||||
PORT=$((tmp+36000))
|
||||
|
|
Loading…
Reference in New Issue
Block a user