LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-31-2010, 03:59 PM   #1
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178
Blog Entries: 1

Rep: Reputation: 20
Moving files Ubuntu / Fedora Server


I use Ubuntu Lucid and use the terminal to access my virtual server (GoDaddy - Red Hat Fedora Core 6). Using the terminal and entering SSH [account name]@IP gets me there. I can manipulate the server then.

But how do I transfer files to/from the Ubuntu terminal to the Fedora server? I want to (using Evolution) email a file on the server to someone. Stumped.
 
Old 05-31-2010, 04:10 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you're already using ssh, you can use sftp / scp to move files over ssh.

There's no such thing as "Red Hat Fedora Core 6", that's two distributions in one, you've either got a very old unsupported version of Fedora, or a brand new beta version of redhat.
 
Old 05-31-2010, 05:10 PM   #3
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Post

Quote:
Originally Posted by acid_kewpie View Post
if you're already using ssh, you can use sftp / scp to move files over ssh.

There's no such thing as "Red Hat Fedora Core 6", that's two distributions in one, you've either got a very old unsupported version of Fedora, or a brand new beta version of redhat.
That's what it is called. If I did this right, a gif is attached that shows the config. (deleted I hope)

Last edited by loftus49; 05-31-2010 at 06:39 PM. Reason: deleting gif
 
Old 05-31-2010, 06:01 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,124

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'd delete that attachment if I was you - posting IP addresses is looking for attacks.
Looks like FC6 - I'd be asking for an update.
 
Old 05-31-2010, 10:00 PM   #5
raymor
Member
 
Registered: Nov 2005
Posts: 59

Rep: Reputation: 20
There are lots of ways to move files across the network. The "best" way
depends on just what you're wanting to do. After all, by reading this
page you're copying a file from the linuxquestions.org server to your
local machine, but you wouldn't want to use HTTP for most file transfer
operations.

To transfer a few files, using scp:

scp -r /home/you/some_directory theserver.com:/home/you/some_directory

FTP is also useful at times. A good FTP client is "ncftp"
yum install ncftp
ncftp -u your_username theserver.com

To sync up a directory of files that are mostly the same:

rsync /home/you/some_directory theserver.com:/home/you/some_directory

Transferring lots of files while retaining proper ownership and permissions:

tar --preserve --same-owner --atime-preserve -B -zcf - . |
ssh user@host "cd /home && tar -B --preserve --same-owner --atime-preserve -zxvf -"
 
Old 05-31-2010, 10:27 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
do not touch a go-daddy server with the dead and unsupported fedora 6 on it. Fedora 6 has NOT had any security ( or any other) updates in 3 years .
Would you use a version of Microsoft windows that DID NOT HAVE the last 3 years of fixes installed -- the answer is NO A VERY BIG NO -- so do nor use a Linux version that has NOT had any updates in the last 3 years !!!


-- run , run as fast as you can from them !!!
-- use some one else !!!!!
 
Old 06-01-2010, 01:08 AM   #7
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora, Mint, MX Linux
Posts: 178

Original Poster
Blog Entries: 1

Rep: Reputation: 20
Quote:
Originally Posted by syg00 View Post
I'd delete that attachment if I was you - posting IP addresses is looking for attacks.
Looks like FC6 - I'd be asking for an update.

Thanks. I deleted the .gif.
 
  


Reply

Tags
file, transfer



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
Moving from Fedora to Ubuntu jazzdude Ubuntu 4 04-06-2009 11:37 AM
moving files from command line from server A to server B graziano1968 Linux - Server 3 08-25-2008 10:23 AM
Moving to Ubuntu or Suse or other from Fedora (Wine, OpenOffice, Multimedia) KMinOZ Linux - Distributions 3 06-20-2008 12:17 PM
Moving to Fedora from ubuntu jessica_lilly Fedora 2 11-13-2007 05:01 PM
mySQL can't find files after moving to new server dbc001 Linux - Server 1 09-25-2006 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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