Article View: nl.comp.os.linux
Article #53Re: ssh vraagje
From: JurLan
Date: Fri, 21 Apr 2000 00:00
Date: Fri, 21 Apr 2000 00:00
39 lines
2231 bytes
2231 bytes
On Thu, 20 Apr 2000, houghi wrote: > En dan nu een serieus antwoord van mij en niet de lulkoek die ik hiervoor > gepost (en weer gecanceld) heb. > > Werkt inderdaad. Het kan zelfs NOG gemakkelijker: > > Gewoon sshd -p <portnumber> > > Er draaien dan twee sesies van sshd, maar dat is uiteraard geen enkel > probleem. > Voila :) Als je nu enkel 1 sshd wil draaien zoek je gewoon het script waar sshd bij het booten gestart wordt en meer bepaald waar de opties meegegeven worden en voeg je daar gewoon -p 22000 aan toe. Ik gebruik Slackware. Daar is het /etc/rc.d/rc.inet2 ------------- # Look for sshd in the two most common locations (compiled with --prefix=/usr # or with --prefix=/usr/local) and if we find it, start it up if [ -x /usr/local/sbin/sshd ]; then echo -n " sshd" /usr/local/sbin/sshd -p 22000 elif [ -x /usr/sbin/sshd ]; then echo -n " sshd" /usr/sbin/sshd -p 22000 fi ------------- Bij SuSE is het denk ik ergens /etc/rc.d/rc.local en daar heb je SSHD_OPTIONS De andere dists weet ik zo niet direct maar het zal wel iets gelijkaardigs zijn. tata ;) Jurlan
Technical Details
Message-ID:
<Pine.LNX.4.21.0004211040540.2956-100000@callisto.matrix.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<r92L4.108659$l35.223832@afrodite.telenet-ops.be> <Te2L4.108704$l35.223980@afrodite.telenet-ops.be> <slrn8fpcc8.2m6.houghi@pizza.houghi.org> <Pine.LNX.4.21.0004201051140.438-100000@callisto.matrix.org> <slrn8fuo6b.2m6.houghi@pizza.houghi.org>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 100a19,df3c137536cbb731 X-Google-Attributes: gid100a19,public X-Google-Thread: 102510,df3c137536cbb731 X-Google-Attributes: gid102510,public X-Google-Thread: fb7d6,df3c137536cbb731 X-Google-Attributes: gidfb7d6,public From: JurLan <jurlan@grmbl.net> Subject: Re: ssh vraagje Date: 2000/04/21 Message-ID: <Pine.LNX.4.21.0004211040540.2956-100000@callisto.matrix.org> X-Deja-AN: 613884839 References: <r92L4.108659$l35.223832@afrodite.telenet-ops.be> <Te2L4.108704$l35.223980@afrodite.telenet-ops.be> <slrn8fpcc8.2m6.houghi@pizza.houghi.org> <Pine.LNX.4.21.0004201051140.438-100000@callisto.matrix.org> <slrn8fuo6b.2m6.houghi@pizza.houghi.org> X-Sender: jurlan@callisto.matrix.org Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: abuse@chello.be X-Trace: news.chello.be 956306532 195.162.212.13 (Fri, 21 Apr 2000 10:42:12 MET DST) Organization: Chello Usenet Service MIME-Version: 1.0 NNTP-Posting-Date: Fri, 21 Apr 2000 10:42:12 MET DST Newsgroups: nl.comp.os.linux,be.comp.os.linux,nl.comp.os.linux.netwerken