image
image

|


Go Back   macosx.com > Mac Help Forums > Networking & Compatibility

Reply
 
Thread Tools
  #1  
Old December 9th, 2002, 02:02 PM
Registered User
 
Join Date: Dec 2002
Location: Tennessee
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jkrew_macosx is on a distinguished road
BBEdit to Linux via secure connection

Hi all, first post here.

I currently am ramping up to begin tinkering with JSP on a remote Linux system, and I will be writing the code using BBEdit.

I am a novice *nix type of admin, so I'm hoping someone can help me: I want to use BBEdit's save to FTP feature to update files on the Linux machine via SSH.

Do I need to just forward FTP calls to ssh? I didn't even install FTP on the Linux box as I had planned not to use it.

Thanks for any jump start.
Reply With Quote
  #2  
Old December 9th, 2002, 11:45 PM
Registered User
 
Join Date: Jan 2002
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
bluehz is on a distinguished road
I asked this question a month or so ago on several forums and got no response. I would like to do the same thing - use sftp is what I was thinking. Apparently no one knows how and I have not figured it out. You can always create an ssh tunnel - but like you I prefer to have ftp nowhere near my Linux box.
Reply With Quote
  #3  
Old December 10th, 2002, 04:18 PM
Registered User
 
Join Date: Dec 2002
Location: Tennessee
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
jkrew_macosx is on a distinguished road
Quote:
Originally posted by bluehz
I asked this question a month or so ago on several forums and got no response. I would like to do the same thing - use sftp is what I was thinking. Apparently no one knows how and I have not figured it out. You can always create an ssh tunnel - but like you I prefer to have ftp nowhere near my Linux box.
bluehz,
Well, you mentioned sftp so I looked around on Google using "BBEdit sftp" and found quite a few clients that can be integrated with BBEdit. The BBEdit site mentions a few as well (http://www.barebones.com/cgi-bin/faq...l#General_-_14).

Looks like the way to go to me. I will post how it goes, but it looks to me that there are quite a few choices out there.
Reply With Quote
  #4  
Old December 10th, 2002, 05:04 PM
Registered User
 
Join Date: Dec 2001
Location: se-sthlm
Posts: 138
Thanks: 0
Thanked 0 Times in 0 Posts
didde is on a distinguished road
Talking

.. Actually. Just use SSH to forward a port to the FTP server.

In a Terminal session, just type:

%: ssh remote.server.com -L 2121:127.0.0.1:21

And then login on the remote.server.com when prompted.

This way you forward your local port 2121 to remote.server.com's port 21 through SSH. You don't even need to have port 21 open on the server's firewall (if you're the only one using the FTP that is).

Try connecting an FTP client on your computer to "127.0.0.1:2121" and I'll bet you get a connection (has to be PASSIVE though).

It'll be secure, and you don't have to install any extra software or jerk around with the server. Sweet, I love SSH and UNIX.

Good luck.
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trustix Secure Linux 2.0 Released legacyb4 Unix & X11 8 July 18th, 2003 07:46 PM
If you had to get a PC... divibisan Bob's Place 35 April 9th, 2002 04:22 PM
LINUX and The Mac (Pinky and the Brain?) xphile Apple News, Rumors & Discussion 4 September 4th, 2001 11:28 PM
What makes Linux better/differnt than OS X? iPenguin Bob's Place 2 August 1st, 2001 02:51 AM


All times are GMT -5. The time now is 02:39 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.