LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How do I use sftp to upload my web site? (no sftp tar command) (http://www.linuxquestions.org/questions/linux-networking-3/how-do-i-use-sftp-to-upload-my-web-site-no-sftp-tar-command-335591/)

johnMG 06-20-2005 10:50 PM

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...(?)

rose_bud4201 06-20-2005 11:10 PM

Nevermind, ignore me...I'm pretty sure this was wrong.

johnMG 06-21-2005 09:46 AM

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.

rose_bud4201 06-21-2005 10:47 AM

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 :-)

johnMG 06-21-2005 01:31 PM

Thanks rose_bud4201. Looks like now I've got two ways to get the job done. :)

nixcraft 06-21-2005 02:01 PM

You can use scp to copy file to ssh-host and then untar it

johnMG 06-21-2005 10:14 PM

> You can use scp to copy file to ssh-host and then untar it

Heh. Forgot about that. Thanks nixcraft.


All times are GMT -5. The time now is 09:00 AM.