LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-26-2006, 10:15 PM   #1
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Rep: Reputation: 20
SSH help - transfer question.


So, I'm sitting here at work remotely logged into my ssh server at home. I'm wondering if their is anyway to copy files from my windows c: drive to my ssh session. Anyway to do this without FTP? Thanks
 
Old 04-26-2006, 10:19 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I assume you're using something like putty on your Windows PC to connect to OpenSSH on your Linux PC? If so, yes you can.

Have a look in your putty directory for psftp.exe and pscp.exe - the help file (also in the putty directory) tells you how to use them.
 
Old 04-26-2006, 10:57 PM   #3
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
Thanks Steve. I'll take a look around for those files since I'm using putty. I saw some post mentioning using scp or sftp but I'm not following how to use those. It seems they are meant for file transfers from linux to linux boxes on the same private LAN's. I need to xfer from Remote private LAN to my private LAN at home. I'll check out the putty ftp features. Thanks.
 
Old 04-26-2006, 11:29 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Does the LAN where the Linux box sits have port forwarding from the internet to the Linux box? If not, there will be a problem initiating the connection since I'd expect that the Linux box has a private (non-routable) IP address.

Once port forwarding is set up, this is no problem. Any SSH packets arriving at your work's firewall are re-directed to the Linux box.
 
Old 04-27-2006, 12:46 AM   #5
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
Thanks again Steve. I'm only forwarding one port (My SSH port) on my router at home to my Linux box. I actually D/L'd a nice SSH program called ZOC. I just went ahead and used that and it makes transfers simple. I just click transfer button and choose file and it sends it right over. Works great.
 
Old 04-27-2006, 05:28 AM   #6
sqp1982
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Rep: Reputation: 0
please use pscp.exe , the homepage of putty http://www.chiark.greenend.org.uk/~s.../download.html
 
Old 04-27-2006, 02:49 PM   #7
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
I recommend that you use WinSCP, a really powerful and featureful open-source GUI SFTP/SCP client for Windows.
 
Old 04-28-2006, 12:10 AM   #8
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
Thanks a lot for the additional replies. I'll give those tools a try as well.
 
Old 04-28-2006, 01:39 AM   #9
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by spooon
I recommend that you use WinSCP, a really powerful and featureful open-source GUI SFTP/SCP client for Windows.
I had a chance to try this and it really kicks butt!
 
  


Reply



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
file transfer over ssh? jme Linux - Software 5 11-13-2006 01:30 AM
SSH File transfer wjeanpaul Linux - General 19 02-07-2006 02:34 PM
File transfer with SSH? Baix Linux - Newbie 5 01-28-2005 06:24 PM
ssh file transfer? Apostasy Linux - Newbie 11 07-30-2004 10:33 PM
Can you transfer files over ssh? Thaidog Linux - Software 2 04-08-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:37 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
Open Source Consulting | Domain Registration