[問題] 虛擬機下無法連上ftp
作業環境: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上傳,都沒法連到
還請幫忙,感謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.249.167.6
→
12/08 23:30, , 1F
12/08 23:30, 1F
→
12/08 23:43, , 2F
12/08 23:43, 2F
→
12/08 23:44, , 3F
12/08 23:44, 3F
→
12/08 23:45, , 4F
12/08 23:45, 4F
→
12/09 08:07, , 5F
12/09 08:07, 5F
→
12/09 10:40, , 6F
12/09 10:40, 6F
→
12/09 10:40, , 7F
12/09 10:40, 7F