Let's start with installing all the packages we need: # apt-get install avahi-daemon libnss-mdns kdnssd Everything is installed, now let's do some configuration. First, we need our services to be announced on LAN. That's why we installed avahi-daemon: it represents your machine on local network and allows other applications to publish services they provide. Avahi-daemon comes with example ssh. service configuration file found in / usr/ share/ doc/ avahi-daemon/ examples. In order to get the service to be announced on LAN we need to copy this file to / etc/ avahi/ services directory: # cp / usr/ share/ doc/ avahi-daemon/ examples/ ssh. service / etc/ avahi/ services Now we need fish: / protocol to be announced too, so we use an ssh. service file as a template for fish. service: # cp / etc/ avahi/ services/ ssh. service / etc/ avahi/ services/ fish. service This file is just a copy of ssh. service. Edit the fish. service file and replace "Remote Terminal on %h" with "Fish to %h" and "_ssh. _tcp" with "_fish. _tcp". Here's how it looks after edit: & lt; ?xml version="1.0 "standalone='no '? gt; lt; !--*-nxml-*-- > & lt; !DOCTYPE service-group SYSTEM" avahi-service. dtd"gt; & lt; !-- $Id: remote-connections. docbook, v 1.6 2007/ 05/ 02 18:07:28 codeknight Exp $-- > & lt; !-- This file is part of avahi. avahi is free software; you can redistribute it and/ or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. avahi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR & lt; !-- See avahi. service(5) for more information about this configuration file -- > & lt; service-group > & lt; name replace-wildcards="yes "> FISH to %hlt; /name > & lt; service > & lt; type > _fish. _tcplt; /type > & lt; port > 22lt; /port > & lt; /service > & lt; /service-group > Save the modified file. Now we need to create a new file _fish. _tcp, open a text editor and add the next lines: Name=FISH Protocol (ssh) Type=_fish. _tcp UserEntry=u PathEntry=path PasswordEntry=p And save the file / usr/ share/ apps/ zeroconf/ _fish. _tcp Do the same on each machine on your LAN, then restart avahi-daemon: # / etc/ init. d/ avahi-daemon restart Then open & krusader; and type in location-toolbar-lnk: zeroconf: / to open the zeroconf connection. Enter the Fish Protocol directory. Inside you'll find the links to each machine that announced fish: / on your LAN, the location-toolbar-lnk: will point to zeroconf: / _fish. _tcp Double clicking on any of these machines, them will bring up the password prompt, asking you for your ssh key passphrase (if password was set). Enter your passphrase. Congratulations: you connected to remote machine using & krusader;!
sek start järgnevaga paigaldamine kõik paketid Kõik on paigaldatud nüüd sek mingi seadistamine Esimene kuni sees sek paigaldatud sees kohalik võrk ja muu rakendused kuni järgnevaga näidis ssh seadistamine fail asukohas kuni kuni sees kuni koopiaõigus fail kuni ssh Praegu fish kuni ssh fail kui a mall tingimusel fish ssh fish fail on a koopiaõigus / ssh Muuda fish fail ja asendamine Võrgus Terminal sees t järgnevaga Kala kuni t ja ssh järgnevaga fish sek redigeerimine & lt; versioon eigt; lt; & lt; gruppgt; & lt; ID võrgus docbook v & lt; fail on part / on vaba ja või / Üldine Avalik Litsents kui x Vaba Tarkvara versioon / Litsents või at iga versioon on asukohas implied / või & lt; tingimusel rohkem info seadistamine fail & lt; grupp & lt; nimi asendamine jah KALA kuni tlt; nimi & lt; & lt; tüüp fishlt; tüüp & lt; portlt; port & lt; & lt; grupp Salvesta muudetud fail Praegu kuni a uued fail fish open a tekst redaktor ja lisa järgmine rida KALA Protokoll ssh fish asukoht JA save fail fish sees sees taaskäivitamine p taaskäivitamine openkrusader; ja tüüp asukohas asukoht tööriistariba kuni open Enter Kala Protokoll otsimine kuni fish sees asukoht tööriistariba punkt kuni fish Topelt sees iga / parool prompt tingimusel ssh võti kui parool Enter ühendatud kuni võrgus kasutaminekrusader;!