ssh 登入后再执行,PATH 就正常了,请大家帮忙看看问题在哪呢
aaron@Aaron-PC:~$ ssh 192.168.2.11 'export'
declare -x HOME="/var/services/homes/aaron"
declare -x LOGNAME="aaron"
declare -x MAIL="/var/mail/aaron"
declare -x OLDPWD
declare -x PATH="\$PATH:/usr/local/bin"
declare -x PWD="/volume2/homes/aaron"
declare -x SHELL="/bin/ash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.2.97 57086 22"
declare -x SSH_CONNECTION="192.168.2.97 57086 192.168.2.11 22"
declare -x USER="aaron"