Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Downloading files via SSH

Discussion in 'General Linux' started by nathan, Mar 23, 2012.

  1. nathan

    nathan Guest

    How can I download files from my server to my desktop via Putty?

    I had a restore deployed by Godaddy to the root of my server, the only way I can browse to the files is via SSH via Putty.

    I need to download 1 folder and all files inside it. Can't find a solution to this.


     
  2. dale

    dale Guest

    So basically the setup is:
    1. The server, with the files you need at /
    2. The desktop, which uses PuTTY to connect to server

    Are you able to FTP to server from desktop?
     
  3. nathan

    nathan Guest

    Yes, I have FTP access to my server. But for security reasons you cannot FTP to the root of the server.
     
  4. dale

    dale Guest

    But you could move or make a copy of the file to wherever it is safe to download, no?
     
  5. nathan

    nathan Guest

    Yes that's what I'm trying to do.
     
  6. dale

    dale Guest

    For example's sake, let's assume your restored files are stored here, under root (represented by "/"): /restored_files

    And you can FTP safely to your home directory, e.g.: /home/nathan

    To copy the entire directory and its contents to /home/nathan, you would:
    Code:
    cp -R [i]from to[/i]
    For example:
    Code:
    cp -R /restored_files /home/nathan
    This will create a copy of restored_files and place it under /home/nathan.
     
  7. Rob

    Rob Guest

    You can use scp or rsync.

    Or - sounds like you're in windows.. use winscp. Pixture it like putty for file xfers.
     
  8. Akendo

    Akendo Guest

    putty has no scp support for Windows, else use winscp. When not, use like the other recommend. Anyhow, the best is using ssh via shell(bash).

    so far
    akendo
     
  9. You should easily be able to SSH if you have the right tools of doing so. I myself have SSHed some of my Apple products, and it's actually quite useful in looking into something if there is a problem with whatever you are trying to SSH with. Good luck!
     

Share This Page