LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-20-2005, 10:50 PM   #1
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 31
How do I use sftp to upload my web site? (no sftp tar command)


I've got a small website that I need to upload to a remote server. I need to do it securely, so I figured I'd use sftp.

I don't want to "put" each file individually because that would be tedious. I want to tell sftp to upload a tar file, and then un-tar it, in-place, once it gets there.

But "sftp help" doesn't say anything about un-tarring a file. And I don't have access to ssh into the server to do it myself.

How do most folks upload their site to a server on which they only have sftp access? Or is what I'm asking to do unusual? Maybe I'm *supposed* to be able to ssh in, and I just don't know it...(?)

Last edited by johnMG; 06-21-2005 at 09:46 AM.
 
Old 06-20-2005, 11:10 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 927

Rep: Reputation: 30
Nevermind, ignore me...I'm pretty sure this was wrong.

Last edited by rose_bud4201; 06-20-2005 at 11:14 PM.
 
Old 06-21-2005, 09:46 AM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
Hmm... maybe I'm supposed to use a GUI ftp client that wraps sftp?..

EDIT: Ok, turns out we've got ssh access to our public_html directory, so all is well. I should be able to just upload the tar file with sftp, and then ssh in to untar it.

Last edited by johnMG; 06-21-2005 at 10:38 AM.
 
Old 06-21-2005, 10:47 AM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 927

Rep: Reputation: 30
This might help - http://gftp.seul.org/. I tried it, and the interface leaves something to be desired, but it does list FTPS in the protocol list ...

Ah, ok cool. Glad to hear it :-)

Last edited by rose_bud4201; 06-21-2005 at 10:48 AM.
 
Old 06-21-2005, 01:31 PM   #5
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
Thanks rose_bud4201. Looks like now I've got two ways to get the job done. :)
 
Old 06-21-2005, 02:01 PM   #6
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
You can use scp to copy file to ssh-host and then untar it
 
Old 06-21-2005, 10:14 PM   #7
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
> You can use scp to copy file to ssh-host and then untar it

Heh. Forgot about that. Thanks nixcraft.
 
  


Reply


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
sftp via web browsers kaplan71 Linux - Software 2 07-13-2005 10:29 AM
wiki on standard (ftp upload) web site ? dtimms Programming 2 01-11-2005 05:28 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 11:29 AM
ls command closes sftp connection SpecialK5106 Linux - Networking 4 11-03-2003 03:18 AM
SFTP with Web Interface jqcaducifer Linux - Software 4 08-13-2003 04:32 PM


All times are GMT -5. The time now is 08:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration