SSH Secure Shell Client--- the host may be dow

來源:互聯網
上載者:User

標籤:blog   http   os   strong   io   檔案   for   2014   

the host may be down,or there may be a problem with the network connection.

Sometimes such problems can also be caused by a misconfigured firewall.

 

 

遇到這樣的問題可能有這幾個情況:

1、在安裝centos的時候沒安裝ssh

2、sshd_config與ssh_config配置問題

3、IP問題

4、防火牆問題

 

一、安裝CentOS  SSH

yum install ssh

二、啟動SSH

service sshd start

 

三、進入系統檔案etc/ssh/sshd_config檔案配置

 

1.vi /etc/ssh/sshd_config    將PermitRootLogin的注釋取消,或者將no改為yes。  

2.service sshd restart  

3.setup命令進入將防火牆關閉。

 

四、進入系統檔案 /etc/ssh/ssh_config檔案配置

 

在終端下面輸入:vi /etc/ssh/ssh_config 

 

#去掉Port 22前面的#號

Port 22

 

五、配置IP

 

ifconfig eth0 192.168.121.11

 

 

This error indicates that SSH Secure Shell for Workstations cannot establish a connection to the remote host computer. There are several reasons that might cause this situation. 

 

It may be that you have simply made a typing mistake, and there is an error in the name of the remote host computer. In this case you should also receive an error stating that the host is unknown. 

 

Check that you have defined the correct port number for the connection. The port can be changed on the Connection page of the Settings dialog. 

 

There may be problems with the configuration or physical setup of the network connection. Verify that other network connections are functioning. 

 

This problem may also arise if your local system is protected by a firewall and the firewall has not been properly configured. If you suspect that this is the case, ask your local system administrator to reconfigure the firewall. 

 

There may also be a temporary problem with the remote host computer. If this is the case, you should wait for a while and try to connect again later. Contact the administrator of the remote host computer for additional information. 

 

 

 

 

這個錯誤表示工作站的SSH安全Shell不能建立到遠程主機電腦的串連。有幾個原因可能導致這種情況。

 

這可能是因為你只是做了一個打字錯誤,有一個錯誤在遠程主機的電腦名稱。在這種情況下,你也應該會收到一個錯誤,說明該主機是未知。

 

檢查是否已定義為串連正確的連接埠號碼。可以改變連接埠上的串連“版面設定”對話方塊。

 

有可能是與網路連接的配置或物理安裝的問題。確認網路連接是否正常。

 

如果您的本地系統防火牆和防火牆沒有正確配置的保護,這個問題也可能出現。如果懷疑是這種情況,請問您的本地系統管理員重新設定防火牆。

 

也有可能是一個與遠程主機上的臨時問題。如果是這樣的話,你應該等待一段時間,並嘗試再次串連後。更多資訊,遠程主機的電腦系統管理員聯絡。

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.