2017-04-05 703 views
-1

我使用FileZilla通過SFTP協議連接到我的Linux服務器之一,但得到低於錯誤堆棧跟蹤。FileZilla:能夠通過SFTP連接,但未能列出目錄

Status: Connecting to <server_ip>... 
Response: fzSftp started, protocol_version=5 
Command: keyfile "C:\ruifeng_ibm.ppk" 
Command: open "[email protected]<server_ip>" 22 
Status: Connected to <server_ip> 
Error: Connection timed out after 20 seconds of inactivity 
Error: Could not connect to server 

,當我跑lsof -i服務器,我能看到的建立sshd連接。

sshd 12333 root 3u IPv4 109406  0t0 TCP <server_hostname>:ssh-><workstation_ip>:54315 (ESTABLISHED) 

當連接成功時,目錄不能被列出嗎?不知道如何調試。

+0

我不明白爲什麼這個問題有一個downvote。讚賞它,如果這個人可以評論爲什麼。 –

回答

0

原來是一個愚蠢的問題。

我在.bashrc文件中輸入以下歡迎信息。

echo -e "\n\nHello Ruifeng...Welcome to the Arena! \[email protected]>>------>---->>" 

它包含一些非法字符FileZilla沒有兌現,或者它完全不被FileZilla支持。懶得進一步挖掘。刪除此消息後,連接工作並且列出了目錄。

相關問題