The Linux SSH command is not available

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.