update
This commit is contained in:
parent
75cfc9a49b
commit
b6872a6127
@ -156,5 +156,6 @@ function sl() {
|
||||
function addkeys() {
|
||||
keychain -q ~/.ssh/dma-key > /dev/null 2>&1
|
||||
keychain -q ~/.ssh/dma-owlery > /dev/null 2>&1
|
||||
keychain -q ~/.ssh/wrdsupport2019 > /dev/null 2>&1
|
||||
source ~/.keychain/`hostname`-sh
|
||||
}
|
||||
|
2
.rc.sh
2
.rc.sh
@ -3,7 +3,7 @@ source ~/.rc.func.sh
|
||||
alias s=ssh
|
||||
alias sd=sshed
|
||||
alias grep='grep --color'
|
||||
alias sj='ssh -CqTnN -D :1080'
|
||||
alias sj='ssh -CqTnN -D :5777'
|
||||
alias y='yadm'
|
||||
alias yd='yadm diff'
|
||||
alias yst='yadm status'
|
||||
|
@ -1,7 +1,5 @@
|
||||
AddKeysToAgent yes
|
||||
ForwardAgent yes
|
||||
HostKeyAlgorithms +ssh-rsa
|
||||
PubkeyAcceptedKeyTypes +ssh-rsa
|
||||
ServerAliveInterval 60
|
||||
|
||||
Host sslvpn
|
||||
@ -17,6 +15,7 @@ Host esg
|
||||
Hostname 10.123.191.101
|
||||
Port 13911
|
||||
User root
|
||||
IdentityFile ~/.ssh/dma-key
|
||||
|
||||
Host wengine
|
||||
Hostname 10.123.191.105
|
||||
@ -67,3 +66,15 @@ Host io
|
||||
HostName io.qhack.cn
|
||||
Port 13911
|
||||
User root
|
||||
|
||||
Host *.rsv2.wrdtech.com
|
||||
checkhostip no
|
||||
proxycommand nc -X 5 -x %h:1080 %h %p
|
||||
user root
|
||||
port 13911
|
||||
identityfile ~/.ssh/wrdsupport2019
|
||||
StrictHostKeychecking no
|
||||
UserKnownHostsFile /dev/null
|
||||
PreferredAuthentications publickey
|
||||
HostKeyAlgorithms +ssh-rsa-cert-v01@openssh.com
|
||||
PubkeyAcceptedAlgorithms +ssh-rsa-cert-v01@openssh.com
|
||||
|
Loading…
Reference in New Issue
Block a user