如何使用SSH下载目录/文件?

Kak*_*enx 5 linux ssh putty

我正在使用putty SSH进入服务器,需要将目录下载到我的计算机上.我尝试使用filezilla,但似乎隐藏了目录(我无法在filezilla中看到它).我可以在putty中看到目录,但它是蓝色的.所以我的问题:

如何下载目录?如何设置保存下载目录的位置?例如:桌面

谢谢!

NaN*_*NaN 7

尝试使用scp http://www.tecmint.com/scp-commands-examples/

scp -r username@source_host:path/to/source_folder ~/Desktop
Run Code Online (Sandbox Code Playgroud)

如果你只在Windows上,winscp是一个很好的解决方案http://winscp.net.以下是如何在winscp http://winscp.net/eng/docs/ui_pref_panels中显示隐藏文件.