LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   able to sftp files. what about directories? (https://www.linuxquestions.org/questions/linux-newbie-8/able-to-sftp-files-what-about-directories-441273/)

bowie101 05-03-2006 11:27 AM

able to sftp files. what about directories?
 
Hi all. Just fresh out from an apache install problem and solution. yea. now the next step...I need to sftp my site from my testing to my production box. I have Putty and it works from my windows machine. I have regular ssh and it works from my testing linux server. I can send individual files just fine (more or less) from these 2 methods. But sending over an entire directory? Haven't figured that out yet.

Thus far, I've used an FTP windows/GUI program like FTPCore to send over directories from my windows box to my testing linux server (it supports SSH). But for some reason, I can't access my production box with the same program. The port isn't open or something.

So my question is 2-fold.

1) How do I get port 22 to "listening" status for SFTP , on my production server, so that I can use my windows/GUI FTP application with it?

2) how can I SFTP entire directories from the PUTTY and/or linux command line?

Thanks!

alunduil 05-03-2006 11:29 AM

Use WinSCP, sftp is an ssh protocol, and AFAIK you can only use a Linux emulator (Cygwin), or WinSCP to connect via the protocol.

Regards,

Alunduil

bowie101 05-03-2006 11:44 AM

you mean, use that program from now on, instead of PUTTY?

alunduil 05-11-2006 12:04 AM

Sorry this response is so late, but I must have misunderstood your original post. I recommend WinSCP, but if you want to use PUTTY read the man on scp. The command scp is just like cp, but allows you to specify a server and everything (being an ssh thing and all).

Regards,

Alunduil


All times are GMT -5. The time now is 03:44 PM.