1. 程式人生 > ><Linux> SSH配置之後 SHH slave1 測試 error:SSH: command not found

<Linux> SSH配置之後 SHH slave1 測試 error:SSH: command not found

document command span 4.4 pre error -s 6.0 and

首先要查看一下ssh命令存在何處

# which ssh

/usr/bin/ssh

使用ssh的絕對路徑 

# /usr/bin/ssh slave1
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)

* Documentation: https://help.ubuntu.com/

545 packages can be updated.
240 updates are security updates.



<Linux> SSH配置之後 SHH slave1 測試 error:SSH: command not found