LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2011, 11:07 PM   #1
mark.salazar
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Download file using ssh command


Hi everyone,

How can i download file to may back up NAS to my destop.

Many Thanks,
Mark Salazar
 
Old 10-05-2011, 11:18 PM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
If i understand the question right...

Code:
scp username@host:/path/to/file file_to_copy
in the case of a backup, this would probably be a .tar.xz/gz/etc/.

to do this in a script run by cron (for a backup), you will need to enable password-less authentication and create keys with ssh-keygen/
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to download a file ...get command ? Volcano Programming 17 01-13-2010 06:40 AM
command Line SSH download-upload mirat46 Linux - Newbie 1 05-11-2006 04:12 PM
How to Download File in Command Mode notooth Linux - General 3 05-25-2005 04:28 PM
how to remote download file by putty SSH? treotan Linux - Newbie 5 08-02-2004 10:47 PM
Ssh , Download File linuxsoundprob Linux - Software 15 08-26-2003 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration