connections

Jonathan Hudson jh+ubuntu at daria.co.uk
Sun Sep 14 07:53:07 UTC 2008


On Sat, 13 Sep 2008 09:26:20 -0400
"Brian McKee" <brian.mckee at gmail.com> wrote:


> 
> re A and C - ssh isn't 'browseable' in Nautilus AFAIK (avahi/bonjour
> might make this true one day) so the Network folder just gets you SMB
> 

ssh is browseable with Nautilus if you've set up Avahi services for
the machines you want to browse. On each machine (ssh server) you want
to browse, create a file,  /etc/avahi/services/sftp-ssh.service, the
last part of which looks something like:

----------------8<-----------------------

<!-- See avahi.service(5) for more information about this configuration
file -->

<service-group>

  <name replace-wildcards="yes">sftp-%h</name>
  <service>
    <type>_sftp-ssh._tcp</type>
    <port>22</port>
  </service>

</service-group>

----------------->8--------------------------

and restart the avahi-daemon. Then when you open 'Network Servers' in
Nautilus, you'll see the Avahi broadcast ssh/sftp host. 

This requires that you have the full avahi set: it's such a long time
since I set it up, but IIRC, as long as you're using ssh-add or the new
gnome stuff on top that with keyring, once it's set up, that's it. It's
almost as useful as being able to "scp foo:/tmp/bar.txt /tmp/" at the
shell prompt.

-jh




More information about the ubuntu-users mailing list