<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Frank Seitz - Developer Logbuch - Netz</title>
    <link>http://fseitz.de/blog/</link>
    <description>Notizen aus der Welt der Programmierung und Administration</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.5.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 06 Jan 2025 09:30:50 GMT</pubDate>

    <image>
        <url>http://fseitz.de/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Frank Seitz - Developer Logbuch - Netz - Notizen aus der Welt der Programmierung und Administration</title>
        <link>http://fseitz.de/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>LDAP: Authentisierung gegen Active Directory</title>
    <link>http://fseitz.de/blog/index.php?/archives/173-LDAP-Authentisierung-gegen-Active-Directory.html</link>
            <category>LDAP</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/173-LDAP-Authentisierung-gegen-Active-Directory.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=173</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=173</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/ldap-logo-278x101.png&quot; height=&quot;65&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Eine Authentisierung über LDAP gegen ein Active Directory (AD) besteht im
  Kern im Aufruf der Methode bind(). Gelingt dieser Aufruf, ist der Benutzer
  authentisiert:
&lt;/p&gt;
&lt;div class=&quot;sdoc-highlight-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre brush: perl; toolbar: false; pad-line-numbers: 1&quot;&gt;use Net::LDAP;&amp;#10;&amp;#10;my $workgroup = &#039;...&#039;;&amp;#10;my $user = &#039;...&#039;;&amp;#10;my $password = &#039;...&#039;;&amp;#10;&amp;#10;my $ldap = Net::LDAP-&amp;gt;new(&amp;#10;    &#039;ldaps://dc1&#039;,    # verschlüsselte Verbindung&amp;#10;    verify =&amp;gt; &#039;none&#039;, # keine Verifikation des Server-Zertifikats (sollte eigentlich &#039;require&#039; sein)&amp;#10;    onerror =&amp;gt; &#039;die&#039;, # Exception, wenn wenn nachfolgende Methodenaufrufe fehlschlagen&amp;#10;) or die $@;&amp;#10;&amp;#10;$ldap-&amp;gt;bind(&quot;$workgroup\\$user&quot;,password=&amp;gt;$password);&amp;#10;$ldap-&amp;gt;unbind;&amp;#10;&amp;#10;# ab hier ist der Benutzer authentisiert&lt;/pre&gt;
&lt;/div&gt;
 
    </content:encoded>

    <pubDate>Fri, 28 Oct 2022 18:27:12 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/173-guid.html</guid>
    
</item>
<item>
    <title>PuTTYgen: Schlüsselpaar für Windows und Linux erzeugen</title>
    <link>http://fseitz.de/blog/index.php?/archives/166-PuTTYgen-Schluesselpaar-fuer-Windows-und-Linux-erzeugen.html</link>
            <category>PuTTYgen</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/166-PuTTYgen-Schluesselpaar-fuer-Windows-und-Linux-erzeugen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=166</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=166</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;https://www.chiark.greenend.org.uk/~sgtatham/putty/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/puttygen-logo-558x554.png&quot; width=&quot;58&quot; height=&quot;58&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Wir rufen &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;https://www.chiark.greenend.org.uk/~sgtatham/putty/&quot;&gt;PuTTYgen&lt;/a&gt; auf und erzeugen ohne Änderung an den
  Voreinstellungen durch Betätigung des Buttons &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Generate&lt;/tt&gt; ein RSA
  Schlüsselpaar mit 2048 Bit Schlüssellänge:
&lt;/p&gt;
&lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/puttygen-window-802x579.png&quot; width=&quot;650&quot; height=&quot;469&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Anschließend speichern wir drei Dateien, um in einem Netzwerk aus
  Windows-Clients und Linux-Servern eine Anmeldung mit Public-Key-Authentisierung
  einrichten zu können:
&lt;/p&gt;
&lt;dl class=&quot;sdoc-list-dl&quot;&gt;
  &lt;dt class=&quot;sdoc-list-dt&quot;&gt;id_rsa.pub&lt;/dt&gt;
  &lt;dd class=&quot;sdoc-list-dd&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Mit Copy &amp;amp; Paste speichern wir den Public Key, der im oberen Bereich
      des Fensters angezeigt wird, in &lt;tt class=&quot;sdoc-seg-c&quot;&gt;id_rsa.pub&lt;/tt&gt;. Den Inhalt
      dieser Datei fügen wir auf allen Linux-Servern, auf denen
      wir uns mit Public-Key-Authentisierung einloggen wollen, zur
      Datei &lt;tt class=&quot;sdoc-seg-c&quot;&gt;.ssh/authorized_keys&lt;/tt&gt; hinzu.
    &lt;/p&gt;
  &lt;/dd&gt;

  &lt;dt class=&quot;sdoc-list-dt&quot;&gt;id_rsa.ppk&lt;/dt&gt;
  &lt;dd class=&quot;sdoc-list-dd&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Mit Klick auf &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Save private key&lt;/tt&gt; speichern wir den Private Key
      in &lt;tt class=&quot;sdoc-seg-c&quot;&gt;id_rsa.ppk&lt;/tt&gt;. Diese Datei machen wir allen Windows-Clientprogrammen
      bekannt, mit denen wir uns per Public-Key-Authentisierung
      auf einem Linux-Server einloggen wollen. Im PuTTY-Client z.B. wird der
      Dateipfad in die Konfiguration eingetragen unter
      &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Connection / SSH / Auth / Private key file for authentication&lt;/tt&gt;.
    &lt;/p&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Verlangt ein Client die PPK-Datei in einem älteren Format (Version 2
      statt Version 3), können wir dieses erzeugen, indem wir unter
      &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Key / Parameters for saving files ...&lt;/tt&gt; die Option
      &lt;tt class=&quot;sdoc-seg-c&quot;&gt;PPK file version: 2&lt;/tt&gt; setzen, bevor wir den Private Key speichern.
    &lt;/p&gt;
  &lt;/dd&gt;

  &lt;dt class=&quot;sdoc-list-dt&quot;&gt;id_rsa&lt;/dt&gt;
  &lt;dd class=&quot;sdoc-list-dd&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Wollen wir uns ferner zwischen Linux-Rechnern per Public-Key-Verfahren
      authentisieren, erzeugen wir über den Menüeintrag
      &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Conversions / Export OpenSSH key&lt;/tt&gt; den Private Key für Linux
      und speichern diesen in &lt;tt class=&quot;sdoc-seg-c&quot;&gt;rsa_id&lt;/tt&gt;. Diese Datei hinterlegen
      wir auf den Linux Rechern, von denen aus wir uns auf andere Linux-Rechner
      per Public-Key-Authentisierung einloggen wollen, in
      &lt;tt class=&quot;sdoc-seg-c&quot;&gt;.ssh/rsa_id&lt;/tt&gt;. Die Datei darf nur für ihren Owner lesbar sein und muss
      daher mit &lt;tt class=&quot;sdoc-seg-c&quot;&gt;chmod 600 .ssh/rsa_id&lt;/tt&gt; gegen fremden Zugriff geschützt werden.
    &lt;/p&gt;
  &lt;/dd&gt;
&lt;/dl&gt;
 
    </content:encoded>

    <pubDate>Tue, 14 Sep 2021 08:27:52 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/166-guid.html</guid>
    
</item>
<item>
    <title>Perl: Erreichbarkeit eines Hosts prüfen</title>
    <link>http://fseitz.de/blog/index.php?/archives/128-Perl-Erreichbarkeit-eines-Hosts-pruefen.html</link>
            <category>Netz</category>
            <category>Perl</category>
            <category>TCP/IP</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/128-Perl-Erreichbarkeit-eines-Hosts-pruefen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=128</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=128</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.perl.org/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/perl-130x65.png&quot; width=&quot;94&quot; height=&quot;47&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Mitunter möchte man wissen, ob ein bestimmter Host erreichbar ist,
  z.B. vor Beginn von Regressionstests gegen Services des Hosts. Diese
  Prüfung kann in Perl mittels des Core-Moduls
  &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://perldoc.perl.org/Net/Ping.html&quot;&gt;Net::Ping&lt;/a&gt;
  durchgeführt werden.
&lt;/p&gt;
&lt;div class=&quot;sdoc-highlight-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre brush: perl; toolbar: false; pad-line-numbers: 1&quot;&gt;use Net::Ping;&amp;#10;&amp;#10;my $p = Net::Ping-&amp;gt;new;&amp;#10;my $isAlive = $p-&amp;gt;ping($host);&amp;#10;$p-&amp;gt;close;&amp;#10;&amp;#10;if ($isAlive) {&amp;#10;    print &quot;Host $host ist erreichbar\n&quot;;&amp;#10;}&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Per Default versucht die Klasse via TCP eine Verbindung zum echo-Port
  aufzubauen. Für andere Möglichkeiten (Test per UDP, ICMP, ...) siehe
  Doku.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;Doku &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://perldoc.perl.org/Net/Ping.html&quot;&gt;Net::Ping&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Thu, 01 Oct 2015 14:44:06 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/128-guid.html</guid>
    
</item>
<item>
    <title>Globale Verbreitung von DNS-Änderungen überprüfen</title>
    <link>http://fseitz.de/blog/index.php?/archives/116-Globale-Verbreitung-von-DNS-AEnderungen-ueberpruefen.html</link>
            <category>DNS</category>
            <category>Netz</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/116-Globale-Verbreitung-von-DNS-AEnderungen-ueberpruefen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=116</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=116</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;https://www.whatsmydns.net/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/dns-logo-100x100.jpg&quot; width=&quot;60&quot; height=&quot;60&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Wer wissen möchte, ob jüngst durchgeführte Änderungen an DNS-Einträgen
  in anderen Teilen der Welt bereits angekommen sind, kann sich des &quot;DNS
  Propagation Checkers&quot; &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;https://www.whatsmydns.net/&quot;&gt;whatsmydns.net&lt;/a&gt;
  bedienen.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Dieser fragt DNS-Server in verschiedenen Teilen der Welt ab, zeigt
  die Ergebnisse in Form einer Tabelle an und zeichnet sie in eine
  Weltkarte ein. Als Suchkriterium gibt man die Domain, den Record-Typ
  und - optional - den erwarteten Record-Wert vor.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Insbesondere nach dem Anlegen einer neuen Domain kann es eine Weile
  dauern bis die Nameserver-Definitionen global propagiert sind. Mit
  diesem Service lässt sich das verfolgen.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 16 Jul 2015 10:49:00 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/116-guid.html</guid>
    
</item>
<item>
    <title>Perl: Hostname zu IP-Adresse ermitteln</title>
    <link>http://fseitz.de/blog/index.php?/archives/114-Perl-Hostname-zu-IP-Adresse-ermitteln.html</link>
            <category>Netz</category>
            <category>Perl</category>
            <category>TCP/IP</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/114-Perl-Hostname-zu-IP-Adresse-ermitteln.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=114</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=114</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.perl.org/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/perl-130x65.png&quot; width=&quot;94&quot; height=&quot;47&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Bei der Auswertung von HTTP-Zugriffen möchte man u.U. die IP-Adressen
  zu Hostnamen auflösen. Das geht in Perl so:
&lt;/p&gt;
&lt;table class=&quot;sdoc-code-table&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
&lt;tr class=&quot;sdoc-code-tr-odd&quot;&gt;
  &lt;td class=&quot;sdoc-code-td-ln&quot;&gt; 1&lt;/td&gt;
  &lt;td class=&quot;sdoc-code-td-line&quot;&gt;&lt;span class=&quot;hl kwa&quot;&gt;use&lt;/span&gt; Socket&lt;span class=&quot;hl opt&quot;&gt;;&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;sdoc-code-tr-even&quot;&gt;
  &lt;td class=&quot;sdoc-code-td-ln&quot;&gt; 2&lt;/td&gt;
  &lt;td class=&quot;sdoc-code-td-line&quot;&gt;&lt;span class=&quot;hl kwb&quot;&gt;$hostname&lt;/span&gt; &lt;span class=&quot;hl opt&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;hl kwc&quot;&gt;gethostbyaddr&lt;/span&gt;&lt;span class=&quot;hl opt&quot;&gt;(&lt;/span&gt;inet_aton&lt;span class=&quot;hl opt&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;hl kwb&quot;&gt;$ip&lt;/span&gt;&lt;span class=&quot;hl opt&quot;&gt;),&lt;/span&gt;AF_INET&lt;span class=&quot;hl opt&quot;&gt;);&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Zwei Punkte sollte man dabei im Hinterkopf behalten:
&lt;/p&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      nicht jede IP-Adresse kann zu einem Hostnamen aufgelöst werden
      (&lt;tt class=&quot;sdoc-seg-c&quot;&gt;gethostbyaddr()&lt;/tt&gt; liefert dann &lt;tt class=&quot;sdoc-seg-c&quot;&gt;undef&lt;/tt&gt;)
    &lt;/p&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      der Aufruf kann u.U. eine Weile dauern (bei mir bis zu 10 Sekunden)
    &lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Fri, 10 Jul 2015 10:48:05 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/114-guid.html</guid>
    
</item>
<item>
    <title>Perl: Web Services mit SOAP::WSDL ansprechen</title>
    <link>http://fseitz.de/blog/index.php?/archives/118-Perl-Web-Services-mit-SOAPWSDL-ansprechen.html</link>
            <category>Netz</category>
            <category>Perl</category>
            <category>SOAP</category>
            <category>Web</category>
            <category>WSDL</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/118-Perl-Web-Services-mit-SOAPWSDL-ansprechen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=118</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.perl.org/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/perl-130x65.png&quot; width=&quot;94&quot; height=&quot;47&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das Perl-Modul &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://search.cpan.org/~swalters/SOAP-WSDL/&quot;&gt;SOAP::WSDL&lt;/a&gt; stellt Mittel bereit, um Web Services
  ansprechen zu können, für die eine WSDL-Definition existiert.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Der bevorzugte Weg ist, aus der WSDL-Definition eine Client-Schnittstelle zu
  generieren und diese zur Interaktion mit dem Web-Service zu nutzen.
  Die generierte Schnittstelle ist objektorientiert, besteht also aus einer
  Sammlung von Klassen.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Die Schnittstelle wird von dem Programm &lt;tt class=&quot;sdoc-seg-c&quot;&gt;wsdl2perl.pl&lt;/tt&gt; generiert, das
  Bestandteil des Moduls SOAP::WSDL ist. Ein typischer Aufruf ist:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ wsdl2perl.pl -b DIR -p PREFIX URL&amp;#10;&amp;#10;DIR    : Zielverzeichnis (Default: &quot;.&quot;)&amp;#10;PREFIX : Präfix für alle generierten Klasse (Default: &quot;My&quot;)&amp;#10;URL    : URL der WSDL-Definition&lt;/pre&gt;
&lt;/div&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Beispiel&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Der Web Service &quot;Global Weather&quot; ist ein einfacher Dienst, der
  aktuelle Wetterinformation über größere Städte der Welt liefert.
  Als Ausgangsinformation steht zur Verfügung:
&lt;/p&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      eine verbale Beschreibung der SOAP-Schnittstelle:
      &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.webservicex.net/globalweather.asmx&quot;&gt;http://www.webservicex.net/globalweather.asmx&lt;/a&gt;
    &lt;/p&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      die WSDL-Definition der SOAP-Schnittstelle:
      &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.webservicex.net/globalweather.asmx?wsdl&quot;&gt;http://www.webservicex.net/globalweather.asmx?wsdl&lt;/a&gt;
    &lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Aus der formalen WSDL-Definition generieren wir mittels
  &lt;tt class=&quot;sdoc-seg-c&quot;&gt;wsdl2perl.pl&lt;/tt&gt; eine objektorientierte Client-Schnittstelle für Perl:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ wsdl2perl.pl -b lib -p GW:: http://www.webservicex.net/globalweather.asmx?wsdl&amp;#10;Creating element class GW/Elements/GetWeather.pm&amp;#10;Creating element class GW/Elements/GetWeatherResponse.pm&amp;#10;Creating element class GW/Elements/GetCitiesByCountry.pm&amp;#10;Creating element class GW/Elements/GetCitiesByCountryResponse.pm&amp;#10;Creating element class GW/Elements/string.pm&amp;#10;Creating typemap class GW/Typemaps/GlobalWeather.pm&amp;#10;Creating interface class GW/Interfaces/GlobalWeather/GlobalWeatherSoap.pm&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Nun können wir einen Client programmieren, der das Wetter abfragt:
&lt;/p&gt;
&lt;div class=&quot;sdoc-highlight-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre brush: perl; toolbar: false; pad-line-numbers: 1&quot;&gt;#!/usr/bin/env perl&amp;#10;&amp;#10;use strict;&amp;#10;use warnings;&amp;#10;&amp;#10;use lib &#039;lib&#039;;&amp;#10;use GW::Interfaces::GlobalWeather::GlobalWeatherSoap;&amp;#10;&amp;#10;if (@ARGV != 2) {&amp;#10;    die &quot;Usage: gw COUNTRY CITY\n&quot;;&amp;#10;}&amp;#10;my ($country,$city) = @ARGV;&amp;#10;&amp;#10;my $soap = GW::Interfaces::GlobalWeather::GlobalWeatherSoap-&amp;gt;new;&amp;#10;&amp;#10;my $res = $soap-&amp;gt;GetWeather({&amp;#10;    CountryName=&amp;gt;$country,&amp;#10;    CityName=&amp;gt;$city,&amp;#10;});&amp;#10;&amp;#10;printf &quot;%s\n&quot;,$res-&amp;gt;get_GetWeatherResult;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Aufruf und Resultat:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ gw germany hamburg&amp;#10;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&amp;gt;&amp;#10;&amp;lt;CurrentWeather&amp;gt;&amp;#10;  &amp;lt;Location&amp;gt;Hamburg-Finkenwerder, Germany (EDHI) 53-32N 009-50E 13M&amp;lt;/Location&amp;gt;&amp;#10;  &amp;lt;Time&amp;gt;Jun 22, 2013 - 09:20 AM EDT / 2013.06.22 1320 UTC&amp;lt;/Time&amp;gt;&amp;#10;  &amp;lt;Wind&amp;gt; from the SSW (200 degrees) at 15 MPH (13 KT) (direction variable):0&amp;lt;/Wind&amp;gt;&amp;#10;  &amp;lt;Visibility&amp;gt; greater than 7 mile(s):0&amp;lt;/Visibility&amp;gt;&amp;#10;  &amp;lt;SkyConditions&amp;gt; mostly cloudy&amp;lt;/SkyConditions&amp;gt;&amp;#10;  &amp;lt;Temperature&amp;gt; 69 F (21 C)&amp;lt;/Temperature&amp;gt;&amp;#10;  &amp;lt;DewPoint&amp;gt; 57 F (14 C)&amp;lt;/DewPoint&amp;gt;&amp;#10;  &amp;lt;RelativeHumidity&amp;gt; 64%&amp;lt;/RelativeHumidity&amp;gt;&amp;#10;  &amp;lt;Pressure&amp;gt; 29.85 in. Hg (1011 hPa)&amp;lt;/Pressure&amp;gt;&amp;#10;  &amp;lt;Status&amp;gt;Success&amp;lt;/Status&amp;gt;&amp;#10;&amp;lt;/CurrentWeather&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
 
    </content:encoded>

    <pubDate>Sat, 22 Jun 2013 08:42:00 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/118-guid.html</guid>
    
</item>
<item>
    <title>SSH: Über SSH-Tunnel mit MySQL Datenbank verbinden</title>
    <link>http://fseitz.de/blog/index.php?/archives/97-SSH-UEber-SSH-Tunnel-mit-MySQL-Datenbank-verbinden.html</link>
            <category>MySQL</category>
            <category>Netz</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/97-SSH-UEber-SSH-Tunnel-mit-MySQL-Datenbank-verbinden.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=97</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=97</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.openssh.com/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/ssh-logo-90x78.png&quot; width=&quot;58&quot; height=&quot;50&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Eine MySQL-Datenbank, die von innen (Host oder lokalem Netzwerk),
  jedoch nicht von außen (Internet) per TCP/IP erreichbar ist, kann von
  einem entfernten Rechner über einen SSH-Tunnel erreicht werden, wenn
  man einen SSH-Zugang zu dem Datenbank-Host oder einem Host des
  Netzwerks besitzt.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  1 - SSH-Tunnel zum MySQL Port 3306 aufsetzen:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ ssh &amp;lt;user&amp;gt;@&amp;lt;host&amp;gt; -L &amp;lt;port&amp;gt;:localhost:3306 -f -N&amp;#10;&amp;#10;-L &amp;lt;port&amp;gt;:localhost:3306 : Verbinde lokalen Port &amp;lt;port&amp;gt; remote mit MySQL Port 3306&amp;#10;-f                       : Lege den ssh-Prozess in den Hintergrund&amp;#10;-N                       : Führe remote nichts aus (kein Login, kein Kommando)&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  2 - Mit der Datenbank verbinden:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ mysql --host=localhost --port=&amp;lt;port&amp;gt; --protocol=tcp ...&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  oder
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ mysql --host=127.0.0.1 --port=&amp;lt;port&amp;gt; ...&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Dieser spezielle Fall von SSH-Tunneling kann natürlich auch auf andere
  Dienste (Ports) übertragen werden.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Ein weiterer Artikel zu dem Thema:
  &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.revsys.com/writings/quicktips/ssh-tunnel.html&quot;&gt;http://www.revsys.com/writings/quicktips/ssh-tunnel.html&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;phpMyAdmin&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Um mit einer lokalen phpMyAdmin-Applikation über den Tunnel
  auf die Remote-Datenbank zugreifen zu können, wird eine
  entsprechende Server-Definition in der phpMyAdmin-Konfiguration
  vereinbart, z.B. in &lt;tt class=&quot;sdoc-seg-c&quot;&gt;/etc/phpmyadmin/conf.d/&amp;lt;Server-Name&amp;gt;.php&lt;/tt&gt;:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;&amp;lt;?php&amp;#10;&amp;#10;$cfg[&#039;Servers&#039;][$i][&#039;verbose&#039;] = &#039;&amp;lt;Server-Name&amp;gt;&#039;;&amp;#10;$cfg[&#039;Servers&#039;][$i][&#039;host&#039;] = &#039;127.0.0.1&#039;;&amp;#10;$cfg[&#039;Servers&#039;][$i][&#039;port&#039;] = &#039;3305&#039;;&amp;#10;$cfg[&#039;Servers&#039;][$i][&#039;connect_type&#039;] = &#039;tcp&#039;;&amp;#10;$i++;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das Timeout hochsetzen:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$cfg[&#039;LoginCookieValidity&#039;] = &amp;lt;Wert in Sekunden&amp;gt;;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Z.B. ein Tag:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$cfg[&#039;LoginCookieValidity&#039;] = 86400;&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  0 bedeutet nicht unendlich, sondern sofortiges Logout!
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 10 Apr 2013 17:54:02 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/97-guid.html</guid>
    
</item>
<item>
    <title>Liste der geöffneten TCP-Ports</title>
    <link>http://fseitz.de/blog/index.php?/archives/87-Liste-der-geoeffneten-TCP-Ports.html</link>
            <category>Linux/Unix</category>
            <category>Netz</category>
            <category>TCP/IP</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/87-Liste-der-geoeffneten-TCP-Ports.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://tldp.org/LDP/nag2/x-087-2-iface.netstat.html&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/network-118x102.png&quot; width=&quot;65&quot; height=&quot;56&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Zeige die Liste der geöffneten TCP-Ports und welche Programme sie nutzen:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# netstat -pant&amp;#10;&amp;#10;-p : Zeige PID und Programmnamen&amp;#10;-a : Zeige sowohl Listening- als auch Non-Listening-Sockets&amp;#10;-n : Zeige numerische Werte statt symbolischer Host-, Port- und Benutzernamen&amp;#10;-t : Zeige TCP-Ports (-u UDP-Ports)&lt;/pre&gt;
&lt;/div&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;&lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://tldp.org/LDP/nag2/x-087-2-iface.netstat.html&quot;&gt;Linux Network Administrators Guide: The netstat Command&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;&lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.skrenta.com/rt/man/netstat.8.html&quot;&gt;netstat(8)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Sun, 10 Jun 2012 19:07:03 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/87-guid.html</guid>
    
</item>
<item>
    <title>Streamripper: Internet-Radio aufzeichnen</title>
    <link>http://fseitz.de/blog/index.php?/archives/86-Streamripper-Internet-Radio-aufzeichnen.html</link>
            <category>Audio</category>
            <category>Netz</category>
            <category>Video/Audio</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/86-Streamripper-Internet-Radio-aufzeichnen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=86</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://streamripper.sourceforge.net/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/streamripper-logo-570x90.png&quot; width=&quot;285&quot; height=&quot;45&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Streamripper ist ein Kommandozeilenprogram, mit dem es möglich ist,
  SHOUTcast- und Icecast-Internetradiosendungen aufzuzeichnen. Das geht so:
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Rippe Stream &lt;tt class=&quot;sdoc-seg-c&quot;&gt;URL&lt;/tt&gt;, speichere die Dateien im aktuellen Verzeichnis
  und erzeuge einen Relay-Server auf Port &lt;tt class=&quot;sdoc-seg-c&quot;&gt;8000&lt;/tt&gt;:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ streamripper URL -r&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Gib den Stream parallel über den von streamripper erzeugten
  Relay-Server wieder:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ cvlc -q http://localhost:8000&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Beispiel: Speichere die Songs des Kanals &lt;tt class=&quot;sdoc-seg-c&quot;&gt;SomaFM/Groove Salad&lt;/tt&gt;
  im Unterverzeichnis &lt;tt class=&quot;sdoc-seg-c&quot;&gt;groove-salad&lt;/tt&gt; und überschreibe eine existierende
  Datei nur, wenn sie größer ist:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ streamripper http://somafm.com/groovesalad256.pls -r -d groove-salad -o larger&lt;/pre&gt;
&lt;/div&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Radio-Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;SomaFM: &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://somafm.com/&quot;&gt;http://somafm.com/&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;Digitally Imported: &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.di.fm/&quot;&gt;http://www.di.fm/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;&lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://streamripper.sourceforge.net/&quot;&gt;Streamripper Homepage&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Thu, 10 May 2012 17:26:00 +0200</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/86-guid.html</guid>
    
</item>
<item>
    <title>HTTPS-Server: SSL-Zertifikat erwerben und einrichten</title>
    <link>http://fseitz.de/blog/index.php?/archives/74-HTTPS-Server-SSL-Zertifikat-erwerben-und-einrichten.html</link>
            <category>HTTPS</category>
            <category>Netz</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/74-HTTPS-Server-SSL-Zertifikat-erwerben-und-einrichten.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=74</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=74</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/https-396x100.png&quot; width=&quot;158&quot; height=&quot;40&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  &lt;b class=&quot;sdoc-seg-b&quot;&gt;Antragstellung:&lt;/b&gt; über Strato V-Server Account,
  &lt;b class=&quot;sdoc-seg-b&quot;&gt;SSL-Zertifikatstyp:&lt;/b&gt; thawte SSL123, &lt;b class=&quot;sdoc-seg-b&quot;&gt;Kosten:&lt;/b&gt; 3,90 EUR/Monat.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Private Key erzeugen (mydomain-de.key)&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# openssl genrsa -des3 -out mydomain-de.key 2048&amp;#10;Generating RSA private key, 2048 bit long modulus&amp;#10;...&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Der Private Key wird hier im Klartext ohne Passphrase erzeugt. Es ist
  praktischer, keine Passphrase zu verwenden, da sonst beim Neustart des
  HTTP-Servers die Passphrase manuell eingegeben werden müsste.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Certificate Request erzeugen (mydomain-de.csr)&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# openssl req -new -key mydomain-de.key -out mydomain-de.csr&amp;#10;...&amp;#10;Country Name (2 letter code) [AU]:DE&amp;#10;State or Province Name (full name) [Some-State]:BUNDESLAND&amp;#10;Locality Name (eg, city) []:STADT&amp;#10;Organization Name (eg, company) [Internet Widgits Pty Ltd]:ORGANISATION&amp;#10;Organizational Unit Name (eg, section) []:&amp;#10;Common Name (eg, YOUR name) []:mydomain.de&amp;#10;Email Address []:me@mydomain.de&amp;#10;&amp;#10;Please enter the following &#039;extra&#039; attributes&amp;#10;to be sent with your certificate request&amp;#10;A challenge password []:&amp;#10;An optional company name []:&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Der Certificate Request wird bei Thawte eingereicht. Dies wickelt
  Strato ab. Die Daten werden über ein Webformular unter
  &quot;SSL-Verwaltung/Easy SSL&quot; erhoben. Thawte meldet sich per Mail.
  Auf dem Weg und per Bestätigung übers Web findet die Validierung statt.
  Der Certificate Request hat später für die Verwendung von SSL keine
  Bedeutung.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Signed Certificate (mydomain-de.crt)&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das signierte Zertifikat wird von Thawte nach Validierung geliefert und kann
  bei Strato unter &quot;SSL-Verwaltung/Easy SSL&quot; abgerufen werden.
  Das Zertifikat wird als mydomain-de.crt gespeichert.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Installation&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Installation des Private Key und des Zertifikats auf dem Server:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# mv mydomain-de.csr /etc/ssl/certs&amp;#10;# mv mydomain-de.key /etc/ssl/private&amp;#10;# chown root.root /etc/ssl/private&amp;#10;# chmod 600 /etc/ssl/private&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Apache-Konfiguration:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;&amp;lt;IfModule mod_ssl.c&amp;gt;&amp;#10;  &amp;lt;VirtualHost *:443&amp;gt;&amp;#10;    ...&amp;#10;    SSLEngine on&amp;#10;    SSLCertificateFile /etc/ssl/certs/mydomain-de.crt&amp;#10;    SSLCertificateKeyFile /etc/ssl/private/mydomain-de.key&amp;#10;    ...&amp;#10;  &amp;lt;/VirtualHost&amp;gt;&amp;#10;&amp;lt;/IfModule&amp;gt;&lt;/pre&gt;
&lt;/div&gt;
 
    </content:encoded>

    <pubDate>Fri, 30 Dec 2011 09:49:00 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/74-guid.html</guid>
    
</item>
<item>
    <title>STRATO HiDrive unter Linux nutzen</title>
    <link>http://fseitz.de/blog/index.php?/archives/75-STRATO-HiDrive-unter-Linux-nutzen.html</link>
            <category>Linux/Unix</category>
            <category>Netz</category>
            <category>WebDAV</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/75-STRATO-HiDrive-unter-Linux-nutzen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;https://hidrive.strato.com/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/strato-hidrive-456x100.png&quot; width=&quot;173&quot; height=&quot;38&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Installation von davfs (Debian):
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# apt-get install davfs2&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Dateisystem manuell mounten:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# mkdir /hidrive&amp;#10;# mount -t davfs https://webdav.hidrive.strato.com /hidrive&amp;#10;Username: myname&amp;#10;Password: mypassword&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Eintrag zur fstab hinzufügen:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# vi /etc/fstab&amp;#10;...&amp;#10;https://webdav.hidrive.strato.com /hidrive davfs noauto,user 0 0&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Dateisystem vereinfacht manuell mounten:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# mount /hidrive&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Dateibaum &lt;tt class=&quot;sdoc-seg-c&quot;&gt;DIR&lt;/tt&gt; per rsync in HiDrive Nutzerverzeichnis übertragen,
  ohne Verwendung des Mountpoint:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ rsync -avz -e ssh DIR myname@rsync.hidrive.strato.com:/users/myname/&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Unter &quot;Einstellungen/Kontenverwaltung/OpenSSH-Schlüssel&quot; kann
  der Public-Key des aufrufenden Benutzers hochgeladen werden, so dass
  sich die Passworteingabe vermeiden lässt.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;&lt;a class=&quot;sdoc-seg-u&quot; href=&quot;https://hidrive.strato.com/&quot;&gt;HiDrive Login&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Thu, 29 Dec 2011 13:17:00 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/75-guid.html</guid>
    
</item>
<item>
    <title>Cisco VPN-Verbindung (vpnclient) loggen/debuggen</title>
    <link>http://fseitz.de/blog/index.php?/archives/55-Cisco-VPN-Verbindung-vpnclient-loggendebuggen.html</link>
            <category>Netz</category>
            <category>VPN</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/55-Cisco-VPN-Verbindung-vpnclient-loggendebuggen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=55</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/cisco-vpnclient-100x100.png&quot; width=&quot;65&quot; height=&quot;65&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Die Ausgaben des Cisco &lt;tt class=&quot;sdoc-seg-c&quot;&gt;vpnclient&lt;/tt&gt; sind nicht unbedingt informativ,
  wenn etwas schief geht. Hier hilft die Aktivierung und Auswertung des Log.
  Das Logging wird in der Datei &lt;tt class=&quot;sdoc-seg-c&quot;&gt;vpnclient.ini&lt;/tt&gt; aktiviert. Hierzu wird
  die Option &lt;tt class=&quot;sdoc-seg-c&quot;&gt;EnableLog=1&lt;/tt&gt; gesetzt und alle LogLevel-Einträge
  auf &lt;tt class=&quot;sdoc-seg-c&quot;&gt;LogLevel=3&lt;/tt&gt;.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das Logging wird gestartet durch
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ ipseclog /tmp/vpnclient.log&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Die Logmeldungen werden nach &lt;tt class=&quot;sdoc-seg-c&quot;&gt;/tmp/vpnclient.log&lt;/tt&gt; geschrieben.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 27 Nov 2011 11:05:00 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/55-guid.html</guid>
    
</item>
<item>
    <title>Cisco vpnclient unter Linux Kernel 2.6.38+</title>
    <link>http://fseitz.de/blog/index.php?/archives/56-Cisco-vpnclient-unter-Linux-Kernel-2.6.38+.html</link>
            <category>Linux/Unix</category>
            <category>Netz</category>
            <category>VPN</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/56-Cisco-vpnclient-unter-Linux-Kernel-2.6.38+.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=56</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=56</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/cisco-vpnclient-100x100.png&quot; width=&quot;65&quot; height=&quot;65&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Problem&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das für frühere Kernel-Versionen kompilierte Kernel-Modul
  &lt;tt class=&quot;sdoc-seg-c&quot;&gt;cisco_ipsec&lt;/tt&gt; crasht bei Aufruf des Cisco vpnclient unter Linux
  2.6.38. Das System ist danach nur noch eingeschränkt nutzbar.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Lösung&lt;/h1&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Das Problem wurde auf &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://forum.tuxx-home.at/viewtopic.php?f=15&amp;amp;t=1296&quot;&gt;http://forum.tuxx-home.at&lt;/a&gt; diskutiert und behoben. Der Patch
  dort funktioniert allerdings nicht, da der Patch, den man nur per
  Copy&amp;amp;Paste erhalten kann, in der Form defekt ist.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Ich habe diesen händisch restauriert und aus den Patches
&lt;/p&gt;
&lt;ol class=&quot;sdoc-list-ol&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      http://www.lamnk.com/download/fixes.patch (existiert nicht mehr)
    &lt;/p&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://forum.tuxx-home.at/viewtopic.php?f=15&amp;amp;t=1293&quot;&gt;http://forum.tuxx-home.at/viewtopic.php?f=15&amp;amp;t=1293&lt;/a&gt; (defekter
      Copy&amp;amp;Paste-Patch)
    &lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  einen einzigen Patch erstellt, der auf das originale
  Cisco-Archiv angewendet werden kann.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Installation vpnclient für Linux 2.6.38+&lt;/h1&gt;
&lt;ol class=&quot;sdoc-list-ol&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Cisco-Archiv herunterladen
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# wget http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/\&amp;#10;  vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Patch für Linux 2.5.38+ herunterladen
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# wget http://fseitz.de/download/vpnclient.patch-2.6.38&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Cisco-Archiv entpacken
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# tar xvzf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Ins vpnclient-Verzeichnis wechseln
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# cd vpnclient&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Patch anwenden
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# patch &amp;lt;../vpnclient.patch-2.6.38&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Cisco Software kompilieren
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# make&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-num&quot;&gt;
    &lt;p class=&quot;sdoc-para-p&quot;&gt;
      Cisco Software installieren
    &lt;/p&gt;
    &lt;div class=&quot;sdoc-code-div&quot;&gt;
      &lt;pre class=&quot;sdoc-code-pre&quot;&gt;# ./vpn_install&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Links&lt;/h1&gt;
&lt;ul class=&quot;sdoc-list-ul&quot;&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;Cisco-Archiv und Patches: &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://projects.tuxx-home.at/?id=cisco_vpn_client&quot;&gt;http://projects.tuxx-home.at/?id=cisco_vpn_client&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;Support-Forum: &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://forum.tuxx-home.at/viewforum.php?f=15&quot;&gt;http://forum.tuxx-home.at/viewforum.php?f=15&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;sdoc-list-li-point&quot; style=&quot;list-style-type:disc&quot;&gt;&lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.cisco.com/en/US/docs/security/vpn_client/cisco_vpn_client/vpn_client46/administration/guide/vcA_original.pdf&quot;&gt;Cisco VPN Client Administrator Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 
    </content:encoded>

    <pubDate>Sat, 26 Nov 2011 10:06:00 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/56-guid.html</guid>
    
</item>
<item>
    <title>scp: Whitespace in Remote-Dateinamen</title>
    <link>http://fseitz.de/blog/index.php?/archives/48-scp-Whitespace-in-Remote-Dateinamen.html</link>
            <category>Netz</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/48-scp-Whitespace-in-Remote-Dateinamen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=48</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.openssh.com/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/ssh-logo-90x78.png&quot; width=&quot;58&quot; height=&quot;50&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Um per &lt;tt class=&quot;sdoc-seg-c&quot;&gt;scp&lt;/tt&gt; Dateien, die Whitespace im Dateienamen enthalten,
  von einem entfernten System zu kopieren, müssen die Leerzeichen
  &lt;i class=&quot;sdoc-seg-i&quot;&gt;zwei Mal&lt;/i&gt; maskiert werden: Einmal für die lokale Shell und
  einmal für die remote Shell.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Beispiel:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ scp &#039;user@host:/pfad/&quot;eine datei&quot;&#039; .&lt;/pre&gt;
&lt;/div&gt;
 
    </content:encoded>

    <pubDate>Mon, 06 Dec 2010 15:44:35 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/48-guid.html</guid>
    
</item>
<item>
    <title>SSH: Timeout unterbinden</title>
    <link>http://fseitz.de/blog/index.php?/archives/21-SSH-Timeout-unterbinden.html</link>
            <category>Netz</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/21-SSH-Timeout-unterbinden.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.openssh.com/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/ssh-logo-90x78.png&quot; width=&quot;58&quot; height=&quot;50&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Clientseitig&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ echo &quot;ServerAliveInterval 120&quot; &amp;gt;&amp;gt; /etc/ssh/ssh_config&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Wenn der Server 120 Sekunden kein Paket gesendet hat, sendet der
  Client ein Dummy-Paket zum Server.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Bei &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;https://www.chiark.greenend.org.uk/~sgtatham/putty/&quot;&gt;Putty&lt;/a&gt; findet sich die Einstellung in den Einstellungen unter
  &lt;tt class=&quot;sdoc-seg-c&quot;&gt;Connection / Seconds between keepalives&lt;/tt&gt;.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Serverseitig&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ echo &quot;ClientAliveInterval 120&quot; &amp;gt;&amp;gt; /etc/ssh/sshd_config&amp;#10;$ /etc/init.d/ssh reload&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Wenn der Client 120 Sekunden kein Paket gesendet hat, sendet der
  Server ein Dummy-Paket zum Client.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 25 Jan 2010 15:26:04 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/21-guid.html</guid>
    
</item>
<item>
    <title>SSH: Automatisch einloggen</title>
    <link>http://fseitz.de/blog/index.php?/archives/20-SSH-Automatisch-einloggen.html</link>
            <category>Netz</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/20-SSH-Automatisch-einloggen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=20</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=20</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;http://www.openssh.com/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/ssh-logo-90x78.png&quot; width=&quot;58&quot; height=&quot;50&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Ein automatisches Login führt SSH durch, wenn auf der Zielmaschine
  der Öffentliche Schlüssel des eigenen Accounts hinterlegt ist. Der
  Öffentliche Schlüssel wird auf der Zielmaschine zum Zielaccount
  hinzugefügt mittels:
&lt;/p&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ cat id_rsa.pub &amp;gt;&amp;gt;.ssh/authorized_keys&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Die Datei darf nur für den Owner schreibbar sein.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Information zur Schlüsselgenerierung:
  &lt;a class=&quot;sdoc-seg-u&quot; href=&quot;http://www.supportnet.de/faqsthread/806&quot;&gt;http://www.supportnet.de/faqsthread/806&lt;/a&gt;
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 24 Jan 2010 15:06:00 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/20-guid.html</guid>
    
</item>
<item>
    <title>Verzeichnisse via rsync abgleichen</title>
    <link>http://fseitz.de/blog/index.php?/archives/18-Verzeichnisse-via-rsync-abgleichen.html</link>
            <category>Linux/Unix</category>
            <category>Netz</category>
            <category>Shell</category>
            <category>SSH</category>
    
    <comments>http://fseitz.de/blog/index.php?/archives/18-Verzeichnisse-via-rsync-abgleichen.html#comments</comments>
    <wfw:comment>http://fseitz.de/blog/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://fseitz.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Frank Seitz)</author>
    <content:encoded>
    &lt;p class=&quot;sdoc-fig-p&quot;&gt;
  &lt;a href=&quot;https://rsync.samba.org/&quot;&gt;&lt;img class=&quot;sdoc-fig-img&quot; src=&quot;http://fseitz.de/blog/uploads/rsync-logo-205x100.jpg&quot; width=&quot;103&quot; height=&quot;50&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Verzeichnisbaum spiegeln (local =&amp;gt; remote)&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ rsync -avz --delete DIR1/ USER@HOST:DIR2&lt;/pre&gt;
&lt;/div&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Der trailing Slash bei &lt;tt class=&quot;sdoc-seg-c&quot;&gt;DIR1/&lt;/tt&gt; ist wichtig, da sonst &lt;tt class=&quot;sdoc-seg-c&quot;&gt;DIR1&lt;/tt&gt; in dir
  &lt;tt class=&quot;sdoc-seg-c&quot;&gt;DIR2&lt;/tt&gt; hineinkopiert wird. Die Verzeichnisse können unterschiedlich
  heißen.
&lt;/p&gt;
&lt;p class=&quot;sdoc-para-p&quot;&gt;
  Bei Angabe der Option -n wird die Ausführung nur simuliert.
&lt;/p&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Via ssh&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ rsync -e ssh -avz --delete DIR1/ USER@HOST:DIR2&lt;/pre&gt;
&lt;/div&gt;

&lt;h1 class=&quot;sdoc-sec-h1&quot;&gt;Via ssh mit speziellem Port&lt;/h1&gt;
&lt;div class=&quot;sdoc-code-div&quot;&gt;
  &lt;pre class=&quot;sdoc-code-pre&quot;&gt;$ rsync --rsh=&#039;ssh -p port&#039; -avz --delete DIR1/ USER@HOST:DIR2&lt;/pre&gt;
&lt;/div&gt;
 
    </content:encoded>

    <pubDate>Thu, 21 Jan 2010 19:26:19 +0100</pubDate>
    <guid isPermaLink="false">http://fseitz.de/blog/index.php?/archives/18-guid.html</guid>
    
</item>

</channel>
</rss>