Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th April 2012, 01:27 AM
settingsun Offline
Registered User
 
Join Date: Aug 2011
Posts: 150
windows_xp_2003firefox
How do I send server files I built locally, to my remotely hosted server?

I'm building a server on a laptop that runs fedora. It is part of my home network. At some point I'm going to get colocation services - that is - I'm going to buy my own production hardware, buy hosting services that require that I maintain my own website. I know I will have to transfer the files from the laptop to the production server.

I don't know how to do this. I'm asking for someone to explain it to me. This is how I think it goes:

1) Buy the hardware

2) Physically connect it to my home network.

3) Use the network to install the operating system.

4) Mail the server to the co location host.

5) Create an ssh key pair on my local laptop

6) Log into the production server after it arrives at the co location host.

7) Log into it with an ssh password long enough to send the public key to it.

8) Log in with the private key

9) Secure copy the server files to it.


How do I use ssh to transfer the files. Do I just ssh the root file to the server? Do I ssh /?

Thanks
Reply With Quote
  #2  
Old 12th April 2012, 02:03 AM
jakebpg Offline
Registered User
 
Join Date: Feb 2009
Location: Northeast
Posts: 292
linuxfirefox
Re: How do I send server files I built locally, to my remotely hosted server?

Why not just do all the configuring before sending it to the company that's going to host it for you. That way you don't need to worry initially about transferring files until you need to make changes and the keys will already be in place for your ssh sessions.
Reply With Quote
  #3  
Old 12th April 2012, 02:05 AM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 889
linuxfirefox
Re: How do I send server files I built locally, to my remotely hosted server?

Code:
man sftp
Sftp is what I would use.
Reply With Quote
  #4  
Old 12th April 2012, 02:21 AM
Doug G Offline
Registered User
 
Join Date: Jul 2005
Posts: 640
linuxfirefox
Re: How do I send server files I built locally, to my remotely hosted server?

I almost always use ssh/scp to transfer files to a remote server. From linux you can use the command line scp program, gui filezilla and others. From windows the free winscp does a great job.

You can also use sshfs and just mount the remote drive.

If you just get shared hosting you probably won't have ssh available, then use ftp/sftp whatever the host offers.
__________________
======
Doug G
======
Reply With Quote
  #5  
Old 12th April 2012, 02:38 AM
settingsun Offline
Registered User
 
Join Date: Aug 2011
Posts: 150
windows_xp_2003firefox
Re: How do I send server files I built locally, to my remotely hosted server?

Thanks for all the replies.

I'm planning to use one of the copying protocols (scp, rsync, etc) over an ssh tunnel for everything, so shared hosting won't be enough. Maintaining my own server in this way - what is the term for this type of hosting?
Reply With Quote
  #6  
Old 12th April 2012, 03:03 AM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 889
linuxfirefox
Re: How do I send server files I built locally, to my remotely hosted server?

FYI, SFTP is a subsystem of ssh and requires nothing but ssh connection.( No extra software or access)
Reply With Quote
  #7  
Old 12th April 2012, 03:11 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,878
linuxfirefox
Re: How do I send server files I built locally, to my remotely hosted server?

scp filename 1.2.3.4:/wherever/filename
Reply With Quote
Reply

Tags
built, files, hosted, locally, remotely, send, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Setup Your Own Free Self-Hosted Web Server SendDerek Servers & Networking 125 2nd April 2012 06:14 AM
(noob) Cannot play audio files hosted on Windows server, Linux OK nezwick Using Fedora 7 10th February 2008 06:35 PM
I can run php remotely but not locally jonhumphrey Installation, Upgrades and Live Media 4 1st March 2006 03:53 PM
Email Server Locally Relay gabriellai Servers & Networking 2 5th July 2005 10:59 PM
Email Server Locally Relay gabriellai Using Fedora 15 28th June 2005 02:48 PM


Current GMT-time: 21:55 (Tuesday, 30-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat