The use of SSH command in Linux system can connect to the server, if command not found, because there is no SSH installed, after installing openssh-clients can use SSH command to connect to the server.
[[email protected] zdw]# ssh ip bash: ssh: command not found[[email protected] zdw]# yum -y install openssh-clients #安装openssh-clients[[email protected] zdw]# ssh - p56789 [email protected] #56789为ssh的端口 [email Protected] ' s password: last login: fri may 6 17:51:08 2016 from 106.37.240.19[[email protected] ~]# cat ~/.ssh/known_hosts #密钥文件所存的位置 [[email protected] zdw]# scp -p52113 /home/zdw/996.sh [email protected]:/tmp #scp命令复制文件 [email protected] ' s password: 996.sh 100% 0 0.0kb/s 00:00
This article is from the blog "Write to Yourself", so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1771474
The Linux SSH command is not available