Bug 121291

Summary: WISH, add sftp to the list of zeroconf enabled protocol
Product: [Frameworks and Libraries] kio Reporter: Michael Scherer <scherer.michael>
Component: zeroconfAssignee: Jakub Stachowski <qbast>
Status: RESOLVED FIXED    
Severity: wishlist CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Protocol file for sftp, to use with zeroconf:/

Description Michael Scherer 2006-02-03 15:03:28 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Mandriva RPMs

Using zeroconf:/ ioslave, we can get a list of computer providing ssh, http, etc on the local network.

According to http://www.dns-sd.org/ServiceTypes.html, _sftp-ssh._tcp is a valid service type used to advertise sftp enabled server.

So i would like to have this protocol added to have sftp site taken in account by the zeroconf ioslave.

Here is a file to place with the other ( in  trunk/KDE/kdenetwork/kdnssd/ioslave in svn, or /usr/share/apps/zeroconf, on my system ) to add sftp zeroconf detection. 

For reference, nautilus use the same system for remote disk mounted by sftp.
Comment 1 Michael Scherer 2006-02-03 15:04:36 UTC
Created attachment 14528 [details]
Protocol file for sftp, to use with zeroconf:/
Comment 2 Jakub Stachowski 2007-04-03 19:33:01 UTC
SVN commit 650043 by qbast:

Add definition for sftp
BUG: 121291 



 M  +1 -1      CMakeLists.txt  
 A             _sftp-ssh._tcp  


--- trunk/KDE/kdenetwork/kdnssd/ioslave/CMakeLists.txt #650042:650043
@@ -16,6 +16,6 @@
 ########### install files ###############
 
 install( FILES zeroconf.protocol DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES _http._tcp _ftp._tcp _ldap._tcp _webdav._tcp _nfs._tcp _ssh._tcp  DESTINATION ${DATA_INSTALL_DIR}/zeroconf)
+install( FILES _http._tcp _ftp._tcp _ldap._tcp _webdav._tcp _nfs._tcp _ssh._tcp _sftp-ssh._tcp DESTINATION ${DATA_INSTALL_DIR}/zeroconf)
 install( FILES zeroconf.desktop  DESTINATION ${DATA_INSTALL_DIR}/remoteview)