admin

ssh tab自动补全
平时自己维护vps和服务器跳来跳去的,机器一多总打ip也麻烦,在这分享下cat /etc/bashrcssh ta...
扫描右侧二维码阅读全文
18
2018/09

ssh tab自动补全

平时自己维护vps和服务器跳来跳去的,机器一多总打ip也麻烦,在这分享下
cat /etc/bashrc

ssh tab自动补全

[ -e ~/.ssh/config ] && complete -o nospace -W "$(perl -ne 'print "$1 " if /^Host (.+)$/' ~/.ssh/config)" ssh

Last modification:September 18th, 2018 at 02:15 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment