有时候需要用跳板机访问机器,更安全。
对于 openssh 7.3
以上的版本可以使用 ProxyJump
, 低于 7.3
可以使用 ProxyCommand
源码编译吧,步骤如下:
shellyum groupinstall "Development tools" yum install ncurses-devel wget https://sourceforge.net/projects/zsh/files/zsh/5.6.2/zsh-5.6.2.tar.xz/download tar -xvJf download cd zsh-5.6.2 ./configure make make install echo "/usr/local/bin/zsh" >> /etc/shells chsh -s /usr/local/bin/zsh