mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 13:27:01 +08:00
riot: proxy -> ssh
This commit is contained in:
parent
a28673b50c
commit
3223ca53fa
|
@ -70,8 +70,8 @@ get_server_meta() {
|
||||||
RET_JUMP_SERVER="ssh@nasp.ob.ac.cn:36022"
|
RET_JUMP_SERVER="ssh@nasp.ob.ac.cn:36022"
|
||||||
RET_TRUST_SERVER=1
|
RET_TRUST_SERVER=1
|
||||||
;;
|
;;
|
||||||
x|proxied )
|
x|ssh )
|
||||||
RET_HOSTNAME=proxy.beardic.cn
|
RET_HOSTNAME=ssh.beardic.cn
|
||||||
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")
|
local tmp=$(sha256sum <<< "$host" | tr -cd "[:digit:]")
|
||||||
tmp=${tmp:0:4}
|
tmp=${tmp:0:4}
|
||||||
RET_PORT=$((10#$tmp+36000))
|
RET_PORT=$((10#$tmp+36000))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user