LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2006, 12:27 PM   #1
bowie101
Member
 
Registered: Nov 2005
Distribution: FC4 & RHES
Posts: 105

Rep: Reputation: 15
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!
 
Old 05-03-2006, 12:29 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
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
 
Old 05-03-2006, 12:44 PM   #3
bowie101
Member
 
Registered: Nov 2005
Distribution: FC4 & RHES
Posts: 105

Original Poster
Rep: Reputation: 15
you mean, use that program from now on, instead of PUTTY?
 
Old 05-11-2006, 01:04 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
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
 
  


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
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 04:22 PM
sftp automation for downloading files chipix Linux - Security 5 07-14-2004 06:57 AM
how to grab multiple files at the same time in SFTP? HiOctane21 Programming 1 05-02-2004 02:32 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 11:29 AM
sftp users can remove files without permission tunedLow Linux - Networking 6 03-06-2003 04:12 PM


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