LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-09-2012, 08:56 PM   #1
ExemptOA
LQ Newbie
 
Registered: May 2012
Posts: 13

Rep: Reputation: Disabled
OpenSSH File Transfer


Hi, i was wondering if it is possible to transfer files from a server to a client using openssh

An example of what i mean:

Using an ssh program like putty: Log into SSH from a local windows or remote windows host, and download a file to the machine accessing the server.

Is this possible? and if so what command would be used?
 
Old 05-09-2012, 09:21 PM   #2
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by ExemptOA View Post
Hi, i was wondering if it is possible to transfer files from a server to a client using openssh

An example of what i mean:

Using an ssh program like putty: Log into SSH from a local windows or remote windows host, and download a file to the machine accessing the server.

Is this possible? and if so what command would be used?
On my side im using ssh to connect to other computer in gui.
By this im able to copy, cut, delete,add, edit files easily.

Im using Mandriva 2010.2 GNOME Desktop.
 
Old 05-09-2012, 09:23 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,396

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
It's called scp. Where SSH stands for "secure shell", SCP stands for "secure copy", they use the same port and the same protocol. I don't believe putty can do it, but there are other Windows programs that can. WinSCP is one, or Cygwin will provide you with a Linux-like CLI that you can scp to/from as well.

Usage is simple:

Code:
scp localfile user@host:/path/to/remotefile
to send localfile to the remote host, or
Code:
scp user@host:/path/to/remotefile localfile
to retrieve remotefile from the host and save it to localfile

Last edited by suicidaleggroll; 05-09-2012 at 09:25 PM.
 
1 members found this post helpful.
Old 05-09-2012, 09:52 PM   #4
ExemptOA
LQ Newbie
 
Registered: May 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
Awesome, thank you

this was basically my main reason for having a server, so i could basically use it as my own skydrive. thanks to you its working lol
 
  


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
LXer: Why a Distro-Provided OpenSSH is Better than a Third-Party OpenSSH LXer Syndicated Linux News 0 02-02-2011 07:50 AM
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 03:49 AM
file time stamp is wrong with ssh file transfer cy163 Linux - Newbie 8 05-18-2008 01:40 AM
openssh source file? mitchb Linux - Newbie 1 07-21-2004 06:18 AM
Slackware8.0 .SlackBuild file for OpenSSH & OpenSSL init6 Slackware 1 09-20-2003 10:01 AM


All times are GMT -5. The time now is 12:25 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