mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 10:57:02 +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_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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user