Search code examples
linuxsshputty

How to download directory/file using SSH?


I'm using Putty SSH into a server and need to download a directory onto my computer. I tried using FileZilla, but it seems like the directory is hidden (I can't see it in FileZilla). I can see the directory in Putty, but it's in blue color. So my question:

How to download the directory? How to set where to save the downloaded directory? example: desktop


Solution

  • Try using scp http://www.tecmint.com/scp-commands-examples/

    scp -r username@source_host:path/to/source_folder ~/Desktop
    

    If you are on windows only, winscp is a good solution http://winscp.net. Here is how to show hidden files in winscp http://winscp.net/eng/docs/ui_pref_panels.