簡體   English   中英

將Linux連接到solaris時,ssh命令不起作用

[英]ssh command is not working while connecting linux to solaris

我正在嘗試使用ssh從Linux服務器連接到遠程solaris機器,但無法連接到solaris機器。 我正在使用下面的ssd命令連接到solaris機器

ssh <host_name>

發出此命令后,我沒有收到任何提示輸入用戶名和密碼的提示。 是Linux到solaris連接的限制嗎?

輸出為:

root@host> ssh -v user@solaris_host
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to solaris_host [solaris_host] port 22.
debug1: connect to address solaris_host port 22: Connection timed out
ssh: connect to host solaris_host port 22: Connection timed out

進行以下步驟

  1. 檢查與目標設備的網絡連接,例如ping
  2. 檢查遠程主機上的端口22是否打開,例如nmap -A 192.168.0.5/32 -p 22
  3. 檢查ssh守護程序是否在目標svcs ssh上運行

當問題仍然存在時,請回來。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM