This commit is contained in:
damasak 2025-01-17 16:49:07 +08:00
parent 9dab63d2b0
commit 696caee78d
3 changed files with 4 additions and 19 deletions

1
.rc.sh
View File

@ -1,6 +1,7 @@
source ~/.rc.func.sh
alias s=ssh
alias sd=sshed
alias grep='grep --color'
alias sj='ssh -CqTnN -D :1080'
alias y='yadm'

View File

@ -5,15 +5,6 @@ PubkeyAcceptedKeyTypes +ssh-rsa
IdentityFile ~/.ssh/dma-key
ServerAliveInterval 60
Host waf
Hostname 192.168.124.135
Port 13911
User root
Host vpn
Hostname 192.168.124.155
Port 13911
User root
Host sslvpn
Hostname 10.123.191.100
Port 13911
@ -32,21 +23,11 @@ Host pve
Hostname 192.168.124.9
User root
Host 3a
Hostname 10.123.191.109
Port 13911
User root
Host github.com
Hostname ssh.github.com
Port 443
User git
Host nat
Hostname 211.91.66.229
Port 55914
User root
Host home
Hostname 192.168.124.183
Port 13911

3
.zshrc
View File

@ -8,6 +8,7 @@ export TERM="xterm"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SSHED_CONFIG_FILE="$HOME/.ssh/dma-config"
ZSH_THEME="headline"
@ -27,3 +28,5 @@ if [ "$OS" = "Windows_NT" ]; then
HEADLINE_HOST_CMD='hostname'
export PATH="/c/Program Files (x86)/WiX Toolset v3.14/bin:/c/WINDOWS/System32/OpenSSH:/ucrt64/bin:$PATH"
fi
PROG=sshed source $HOME/.oh-my-zsh-custom/autocompletions/autocomplete.sh