LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2003, 04:49 PM   #1
ziggie216
Member
 
Registered: Oct 2003
Posts: 176

Rep: Reputation: 30
secure ftp?


Since my work block off port 21 (ftp) completely, could I tunnel ftp though ssh to reach my server? Would it be same as tunneling vnc though ssh?
 
Old 12-12-2003, 05:20 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You should look into scp, which is an ssh-based file transfer mechanism.

Håkan
 
Old 12-12-2003, 05:40 PM   #3
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
http://winscp.sourceforge.net/eng/

This is, of course, if your work pc is WinBloze.
you can configure your sshd to listen on any port you like...use this to connect to it.
The interface is basically just like any gui ftp client.
 
Old 12-12-2003, 11:39 PM   #4
Hube
Member
 
Registered: Mar 2003
Location: Ann Arbor - US
Distribution: RH 8.0
Posts: 55

Rep: Reputation: 15
scp is absolutely great, here is the syntax:

scp file_to_copy user@server.com:/home/user (or any path you deem appropriate)

--or--

scp user@server.com:/etc/a_file local_version_of_a_file

You can also use the -r option to do recursive copies :-)

scp -r user@server:/home/user .

You will get prompted for the server password each time (you can also use private/public keys to skip this step, look up keygen - or something like that I forget!)

Hube
 
Old 12-13-2003, 02:52 AM   #5
ziggie216
Member
 
Registered: Oct 2003
Posts: 176

Original Poster
Rep: Reputation: 30
sounds good. thanks i'll try it out


so with this program. i'm conning to my ftp server through port 22?

Last edited by ziggie216; 12-13-2003 at 04:15 AM.
 
Old 12-13-2003, 06:55 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
No. Actually you're connection to the ssh server, not the FTP server, but the functionality is basically the same. And yes, if you don't configure it to listen to any other port, the default will be tcp/22.


Håkan
 
  


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
Secure FTP sachinh Linux - Security 2 12-02-2004 05:34 AM
secure ftp mrobb Linux - General 2 09-15-2004 12:07 PM
Secure FTP Sathe Linux - Security 6 06-03-2003 06:53 PM
Secure FTP? WeNdeL Linux - Software 1 05-07-2003 10:44 AM
Secure FTP pilot1 Linux - General 2 11-06-2002 08:35 AM


All times are GMT -5. The time now is 03:10 AM.

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