<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten</id>
	<title>Ssh scp ohne Passwort Passworteingabe einrichten - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten"/>
	<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;action=history"/>
	<updated>2026-05-02T19:33:49Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in znilwiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=14177&amp;oldid=prev</id>
		<title>BLinz am 24. Juni 2024 um 07:41 Uhr</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=14177&amp;oldid=prev"/>
		<updated>2024-06-24T07:41:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 24. Juni 2024, 09:41 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Zeile 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dann folgenden Befehl eingeben:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dann folgenden Befehl eingeben:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ssh-keygen -t rsa&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ssh-keygen -t rsa&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oder mit elliptischer Verschlüsselung&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ssh-keygen -t ecdsa&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Abfragen einfach alle mit {{Key|Enter}} bestätigen.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Abfragen einfach alle mit {{Key|Enter}} bestätigen.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Beispielausgabe:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Beispielausgabe:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
	<entry>
		<id>https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=13366&amp;oldid=prev</id>
		<title>BLinz am 1. September 2022 um 09:24 Uhr</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=13366&amp;oldid=prev"/>
		<updated>2022-09-01T09:24:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 1. September 2022, 11:24 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Zeile 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Falls es den Befehl {{Key|ssh-copy-id}} nicht geben sollte so könnt Ihr auch folgenden Befehl benutzen:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Falls es den Befehl {{Key|ssh-copy-id}} nicht geben sollte so könnt Ihr auch folgenden Befehl benutzen:&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cat ~/.ssh/*.pub | ssh user@remote-system &amp;#039;umask 077; cat &amp;gt;&amp;gt;.ssh/authorized_keys&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  cat ~/.ssh/*.pub | ssh user@remote-system &amp;#039;umask 077; cat &amp;gt;&amp;gt;.ssh/authorized_keys&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Notfalls müsst Ihr die Datei auf dem Zielsystem von Hand erstellen und den Eintrag von Hand einfügen.&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Den Befehl habe ich auf dieser Webseite gefunden: http://www.schlittermann.de/doc/ssh.html&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Den Befehl habe ich auf dieser Webseite gefunden: http://www.schlittermann.de/doc/ssh.html&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
	<entry>
		<id>https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=10056&amp;oldid=prev</id>
		<title>BLinz am 31. Oktober 2017 um 16:04 Uhr</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Ssh_scp_ohne_Passwort_Passworteingabe_einrichten&amp;diff=10056&amp;oldid=prev"/>
		<updated>2017-10-31T16:04:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
[[Kategorie:Linux]]&lt;br /&gt;
Um {{Key|ssh}} Sitzungen zu einem anderen Linux-Host zu starten oder Dateien mit {{Key|scp}} direkt kopieren zu können müssen wir folgendes machen:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Auf dem Server anmelden von(!) dem wir ohne Passwort auf einen Zielserver zugreifen wollen.&amp;lt;br&amp;gt;&lt;br /&gt;
Und zwar mit dem Benutzer den wir dazu verwenden wollen!&amp;lt;br&amp;gt;&lt;br /&gt;
Dann folgenden Befehl eingeben:&amp;lt;br&amp;gt;&lt;br /&gt;
 ssh-keygen -t rsa&lt;br /&gt;
Die Abfragen einfach alle mit {{Key|Enter}} bestätigen.&amp;lt;br&amp;gt;&lt;br /&gt;
Beispielausgabe:&amp;lt;br&amp;gt;&lt;br /&gt;
 Generating public/private rsa key pair.&lt;br /&gt;
 Enter file in which to save the key (/root/.ssh/id_rsa):&lt;br /&gt;
 Enter passphrase (empty for no passphrase):&lt;br /&gt;
 Enter same passphrase again:&lt;br /&gt;
 Your identification has been saved in /root/.ssh/id_rsa.&lt;br /&gt;
 Your public key has been saved in /root/.ssh/id_rsa.pub.&lt;br /&gt;
 The key fingerprint is:&lt;br /&gt;
 a1:b2:c3:d4:e5:a6:b7:c8:d9:e0:f1:a2:b3:c4:d5:e6 root@samplehost&lt;br /&gt;
 The key&amp;#039;s randomart image is:&lt;br /&gt;
 +--[ RSA 2048]----+&lt;br /&gt;
 |                 |&lt;br /&gt;
 |                 |&lt;br /&gt;
 |    o+oEo..++.   |&lt;br /&gt;
 |                 |&lt;br /&gt;
 |                 |&lt;br /&gt;
 |                 |&lt;br /&gt;
 |o=   o. o        |&lt;br /&gt;
 |                 |&lt;br /&gt;
 |                 |&lt;br /&gt;
 +-----------------+&lt;br /&gt;
Damit haben wir einen öffentlichen Schlüssel erzeugt. An diesem können wir uns mit unserem ebenfalls erzeugten privatem Schlüssel anmelden.&amp;lt;br&amp;gt;&lt;br /&gt;
Nun müssen wir diesen öffentlichen Schlüssel noch auf alle Zielsystem kopieren an welchen wir uns anmelden wollen:&amp;lt;br&amp;gt;&lt;br /&gt;
 ssh-copy-id Benutzer@Server_oder_IP&lt;br /&gt;
Wenn wir uns also auf dem Server &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Test01&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; in Zukunft ohne Passwort anmelden wollen so lautet der Befehl&amp;lt;br&amp;gt;&lt;br /&gt;
 ssh-copy-id root@Test01&lt;br /&gt;
oder&lt;br /&gt;
 ssh-copy-id root@172.16.17.18&lt;br /&gt;
Ihr müsst ggf. die SSL verbindung einmal bestätigen ( {{Key|yes}} ) und ein letztes mal das Passwort eingeben.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Falls es den Befehl {{Key|ssh-copy-id}} nicht geben sollte so könnt Ihr auch folgenden Befehl benutzen:&amp;lt;br&amp;gt;&lt;br /&gt;
 cat ~/.ssh/*.pub | ssh user@remote-system &amp;#039;umask 077; cat &amp;gt;&amp;gt;.ssh/authorized_keys&amp;#039;&lt;br /&gt;
Den Befehl habe ich auf dieser Webseite gefunden: http://www.schlittermann.de/doc/ssh.html&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Hier findet man eine Menge Beispiele für den Aufruf von &amp;lt;code&amp;gt;scp&amp;lt;/code&amp;gt;: http://www.binarytides.com/linux-scp-command/&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;comments /&amp;gt;&lt;/div&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
</feed>