 |
 |
I have SSH enabled, I'm at work. How can I remotely enable FTP sharing?
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status:
Offline
|
|
How can i remotely turn on FTP sharing from SSH?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Edit /etc/xinetd.d/ftp as root, changing "disable = yes" to "disable = no"
Then restart xinetd:
sudo kill -1 `cat /var/run/xinetd.pid`
Of course, if you have ssh on, you could just use sftp. It's more secure anyway.
(Last edited by Arkham_c; Jul 17, 2003 at 08:56 PM.
)
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jan 2002
Location: ORF
Status:
Offline
|
|
Originally posted by brainchild2b:
How can i remotely turn on FTP sharing from SSH?
If you already have sshd running, then you hafe an sftp server running too. So there is no need for you to run a seperate ftp server. Unless of course you don't have an sftp client...
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 1999
Location: sunny southern california
Status:
Offline
|
|
you shouldn't turn on insecure ftp when you can use either sftp or scp.
if you have ssh running on the remote computer then from a command line you can "sftp" into your computer, or alternatively you can use the command "scp" from the local computer.
but hey, whatever floats your boat.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |