多 Terminal 窗口、多 选项卡 SSH 客户端
一、安装
brew install zellij
bash <(curl -L zellij.dev/launch)
iterm2ssh.sh 2223 lairongsheng jumpserver-idc.baijiayun.com l999999L
sshpass -p 'l999999L' ssh -p 2223 [email protected]
sshpass -p '密码' ssh [email protected] 【默认为22端口】
brew install hudochenkov/sshpass/sshpass
alias ss="sshpass -p 'l999999L' ssh -p 2223 [email protected]"
source ~/.bash_profile
alias zz="zellij a rslai"
zellij setup --dump-config > ~/.config/zellij/config.kdl
修改配置文件
vim .config/zellij/config.kdl
打开注释
copy_command "pbcopy" // osx
zellij kill-all-sessions
标签:2223,zellij,lairongsheng,sshpass,客户端,config,ssh From: https://www.cnblogs.com/rslai/p/17139613.html