Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-28-2004, 10:14 AM   #1
Registered: Sep 2002
Distribution: fc2
Posts: 113

Rep: Reputation: 15
Copying in ssh

If I open up a terminal window on linux machine A and ssh over to linux machine B, is there a way I can copy something that is on A over to B while Iím in that ssh session? I thought about setting up an FTP server on A and then ftping from B back over to A but I really donít want to do that ...

Thanks for any ideas,
Old 12-28-2004, 10:15 AM   #2
LQ Newbie
Registered: Dec 2004
Distribution: fedora core 2
Posts: 19

Rep: Reputation: 0
securecopy is the app for you.

Check out 'man scp' for usage....
Old 12-28-2004, 05:17 PM   #3
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
You could try this...

scp fileursending user@hostname:/home/you
"user@hostname" will be the user and name of the computer you want to send the file to and the ":/home/you" is the directory where the file will be copied to (or where ever you want).

Last edited by Linux~Powered; 12-28-2004 at 05:19 PM.


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
I turned off SSH, but I cant get it back! How do you start SSH on boot? nmoog Slackware 2 02-08-2004 05:18 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 PM.

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