Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MikeatOSX

macrumors regular
Original poster
Mar 26, 2007
157
28
Austria
Hi,
I would like to know, how to switch on/off FTP file sharing via Terminal.
Anybody knows?
It's a technical, not a security question. :)

Mike
 

ovrlrd

macrumors 65816
Aug 29, 2009
1,384
146
You shouldn't be using FTP anymore, it is not secure which is why Apple removed it in Lion. Instead use SFTP which is part of SSH (Remote Login) which can be enabled in Sharing.
 

MikeatOSX

macrumors regular
Original poster
Mar 26, 2007
157
28
Austria
Sorry, my question was technical only.
I got the information, that FTP still can be switched on/off via Terminal.

So I'm interested in how to do it.
 

stewacide

macrumors regular
Jan 6, 2002
196
39
Does remote login enable SFTP also? I could have sworn I had this turned on in file sharing under SL but I don't see any sign of it in Lion.
 

Hansr

macrumors 6502a
Apr 1, 2007
897
1
Does remote login enable SFTP also? I could have sworn I had this turned on in file sharing under SL but I don't see any sign of it in Lion.

I'd assume so unless they changed the daemon since both run via the SSH daemon.

If you want FTP go with something like pureftpd apple's ftpd has always been kind of annoying to configure.
 

MikeatOSX

macrumors regular
Original poster
Mar 26, 2007
157
28
Austria
Instead use SFTP which is part of SSH (Remote Login) which can be enabled in Sharing.

Sorry, you're right! :)

SFTP is that simple and I can connect very easy now again with my iPhone (apps: iStorage, ezShare etc.) to my Macs!
So I don't need the Terminal.

Thank you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.