Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to broadcast a network file sharing server that is using a protocol like ftp, sftp, webdav, so that it shows up in naulilus under network:// .

I once connected to network where I could see a ftp share. It was a red hat machine. I ask the user how he did this, but he did not know.

(Note: I do know how to do this for samba. I'm interested in how you do it for other protocols.)

share|improve this question
Press CTRL+L? – karthick87 Dec 26 '10 at 19:38
I know far too little about avahi but it appears to be the front-runner protocol for announcing available services. – msw Dec 27 '10 at 2:16
up vote 8 down vote accepted

You can announce services by using the avahi service. To announce a service, you have to add a service description file in the /etc/avahi/services directory. For example, to announce an sftp share, create a file sftp.service with:

  <name replace-wildcards="yes">SFTP on %h</name>

For FTP you have to change the type to _ftp._tcp and the port to 21, for an NFS share you have the change the type to _nfs._tcp and the port to 2049, and you also have to include something like:


The avahi.service man page has all the information on the format of these files.

share|improve this answer
+1, Fantastic! If it works that is.. :-) – Stefano Palazzo Dec 29 '10 at 10:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.