update
This commit is contained in:
parent
75cfc9a49b
commit
b6872a6127
@ -156,5 +156,6 @@ function sl() {
|
|||||||
function addkeys() {
|
function addkeys() {
|
||||||
keychain -q ~/.ssh/dma-key > /dev/null 2>&1
|
keychain -q ~/.ssh/dma-key > /dev/null 2>&1
|
||||||
keychain -q ~/.ssh/dma-owlery > /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
|
source ~/.keychain/`hostname`-sh
|
||||||
}
|
}
|
||||||
|
2
.rc.sh
2
.rc.sh
@ -3,7 +3,7 @@ source ~/.rc.func.sh
|
|||||||
alias s=ssh
|
alias s=ssh
|
||||||
alias sd=sshed
|
alias sd=sshed
|
||||||
alias grep='grep --color'
|
alias grep='grep --color'
|
||||||
alias sj='ssh -CqTnN -D :1080'
|
alias sj='ssh -CqTnN -D :5777'
|
||||||
alias y='yadm'
|
alias y='yadm'
|
||||||
alias yd='yadm diff'
|
alias yd='yadm diff'
|
||||||
alias yst='yadm status'
|
alias yst='yadm status'
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
AddKeysToAgent yes
|
AddKeysToAgent yes
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
HostKeyAlgorithms +ssh-rsa
|
|
||||||
PubkeyAcceptedKeyTypes +ssh-rsa
|
|
||||||
ServerAliveInterval 60
|
ServerAliveInterval 60
|
||||||
|
|
||||||
Host sslvpn
|
Host sslvpn
|
||||||
@ -17,6 +15,7 @@ Host esg
|
|||||||
Hostname 10.123.191.101
|
Hostname 10.123.191.101
|
||||||
Port 13911
|
Port 13911
|
||||||
User root
|
User root
|
||||||
|
IdentityFile ~/.ssh/dma-key
|
||||||
|
|
||||||
Host wengine
|
Host wengine
|
||||||
Hostname 10.123.191.105
|
Hostname 10.123.191.105
|
||||||
@ -67,3 +66,15 @@ Host io
|
|||||||
HostName io.qhack.cn
|
HostName io.qhack.cn
|
||||||
Port 13911
|
Port 13911
|
||||||
User root
|
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
|
||||||
|
1
.zshrc
1
.zshrc
@ -10,6 +10,7 @@ export QT_IM_MODULE=fcitx
|
|||||||
export XMODIFIERS=@im=fcitx
|
export XMODIFIERS=@im=fcitx
|
||||||
export QT_QPA_PLATFORM="wayland;xcb"
|
export QT_QPA_PLATFORM="wayland;xcb"
|
||||||
export SSHED_CONFIG_FILE="$HOME/.ssh/dma-config"
|
export SSHED_CONFIG_FILE="$HOME/.ssh/dma-config"
|
||||||
|
export COREPACK_ENABLE_AUTO_PIN=0
|
||||||
|
|
||||||
ZSH_THEME="headline"
|
ZSH_THEME="headline"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user