LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-08-2009, 01:06 AM   #1
aaliyah
LQ Newbie
 
Registered: Jun 2009
Location: Montreal, QC, Canada
Distribution: PCLinuxOS 2k9
Posts: 4

Rep: Reputation: 0
Smile PCLOS 2007 & FC9: can't copyy files from FC9 box to home PCLOS 2k7 via ssh


Hello everyone. This is my first post. I am using pclos 2k7 from home. I have files at work on a fc9 box. I am trying to connect to my company's ssh environment from home.

$ ssh name@domain.com <<-- seems to work just fine.


From there I have to ssh user@fc9 to get access to my fc9 box at work.

I tried to copy files from my box directly to my pclos 2k7 box at home, but it looked like I copied it to the shell environment instead. I used the following command :


scp -r user@pcshell:/home/user/folder1 .

I guess the 'ssh environment' is a box that allows the tunnel connection for ssh sessions. So anyways, when I do a 'ls', I see that I have copied the 'folder1' in my home directory of the 'ssh environment' box. But I would like this folder and it's contents to be copied to my home pclos box.


I tried then using this command:

scp -r user@pcshell.domain.com:~/folder1/ redla@192.168.2.104:~/folder1/

It asks for the user's password. I provide it but then it just hangs.


I have a DSL connection going into a linksys router providing dhcp leased ip addresses. My pclos is on a laptop with a wireless connection.

Any ideas would be appreciated.
 
Old 06-08-2009, 11:37 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Why not SSH to the machine the files are on, then go backwards to your box
 
Old 06-15-2009, 11:20 PM   #3
aaliyah
LQ Newbie
 
Registered: Jun 2009
Location: Montreal, QC, Canada
Distribution: PCLinuxOS 2k9
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry... what do you mean by going backwards?
 
Old 06-16-2009, 12:34 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Login to the target box and then scp from there, calling your box at work

me@home> scp me@work:/path/ .
 
  


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
PCLOS 2007 & FC9: can't copy files from FC9 box to home PCLOS 2k7 via ssh aaliyah Linux - Newbie 3 06-17-2009 01:12 PM
PCLOS Minime the only 2008 PCLOS? newbiesforever Linux - Distributions 1 09-12-2008 12:25 AM
Updated PCLOS 2007 - lost 1440X900 resolution wastingtime Linux - Software 1 05-06-2008 09:35 PM
Can't compile Mobloquer on PCLOS 2007 Gnome Ed. bbjester Linux - Software 0 01-17-2008 07:21 AM
how to configure fail2ban in PCLOS 2007? mexbeachbum Linux - Security 2 09-26-2007 09:19 PM

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

All times are GMT -5. The time now is 01:13 AM.

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