虛擬機下無法連上ftp - Linux

Table of Contents

作業環境:windows用VMware,裝ubuntu

在ubuntu的ip位置和windows下不一樣

inet addr:192.168.179.171

只是用瀏覽器收尋我的ip位置出來的會一樣,可以用瀏覽器進到FTP


但只要在shell裡用FTP,sftp都沒法連到

例如:
sftp ftp://ftp.freebsd.org/pub/FreeBSD
ssh: Could not resolve hostname ftp: Name or service not known
Couldn't read packet: Connection reset by peer


檢查ssh是有打開, 1881 ? 00:00:00 ssh-agent


花了好幾小時,實在沒辦法了,想佈署網站要用ftp上傳,都沒法連到

還請幫忙,感謝!


--

All Comments

Regina avatarRegina2011-12-13
你是想從哪裡連到哪裡??
Jack avatarJack2011-12-17
能夠從shell連到ftp 哪裡的都行 因為我都連不上
Frederic avatarFrederic2011-12-18
但主要還是要連代理伺服器和windows本機,windows裝了
Kyle avatarKyle2011-12-20
Filezilla-server但想用linux連過去也失敗
Susan avatarSusan2011-12-20
Host跟Guest之間的網路模式是? windows的防火牆有設定嗎?
Dinah avatarDinah2011-12-23
連線用NAT,我只有一個IP不能用Bridged不知是不是這元原