Direkt zum Hauptbereich

ssh public key authentication:

This document assumes that you are using OpenSSH on the client and remote computers

1.Create a public and private key pair for the protocol you want to use. To create a key pair for use by SSH2, enter: ssh-keygen
the key generation program will create a private key in a file with the name you specified and a public key with the same name, plus a .pub extension.

2. Copy your public key to the remote host by entering:
scp ~/.ssh/filename.pub hostname:

3. Connect to the remote host using your password for authentication. If the authorized_keys file doesn't exist, create it with the following commands:
mkdir -p ~/.ssh touch ~/.ssh/authorized_key

On the remote host, add your public key to the authorized_keys file, with the following command:
cat ~/filename.pub >> ~/.ssh/authorized_keys

Schritte 2 und 3 können auch mit dem Befehl
ssh-copy-id (z.b. ssh-copy-id amilo)
bequem zusammengefasst werden.

To use ssh-agent and ssh-add, follow the steps below:

  1. At the Unix prompt, enter: eval $(ssh-agent)

  2. Enter the command: ssh-add
  3. Enter your private key password.

  4. When you log out, enter the command: kill $SSH_AGENT_PID To run this command automatically when you log out, place it in your .logout file (if you are using csh or tcsh) or your .bash_logout file (if you are using bash).


cited from: http://kb.iu.edu/data/aews.html and http://kb.iu.edu/data/aeww.html

Kommentare

Beliebte Posts aus diesem Blog

ssh pubkey verfahren funktioniert nicht

trotz ssh-copy-id usf. werde ich immer noch aufgefordert, das Passwort einzugeben. Grund: Die Rechte von authorized-keys sind nicht richtig gesetzt. sshd achtet darauf, dass alle rechte so gesetzt sind, dass ein Angreifer diese Datei nicht verändern kann. Sind die Rechte zu lax gesetzt, weigert sich sshd, dieses Verfahren durchzuführen. Daher dürfen folgende Dateien nur für den Benutzer beschreibbar sein: .ssh/authorized-keys .ssh . Das Dritte Verzeichnis ist das home-Verzeichnis des Nutzers, sonst könnte ja ein Angfreifer einfach .ssh überschreiben.

Open Office Vorlagen

http://de.openoffice.org/downloads/komponenten.html Vorlagen Hier bieten wir eine Sammlung von Vorlagen für den deutschsprachigen Raum an. Momentan handelt es sich um ca. 130 Vorlagen Die Vorlagen im Open Document Format können hier heruntergeladen werden: * OOo-Extension vorlagen_de_opendoc.oxt (ca. 2,5 MB) * Zip-Achiv vorlagen_de_opendoc.zip (ca. 2,5 MB) Vorlagen im OpenOffice.org 1.x-Format sind hier zu finden: vorlagen_de_sissl.zip (ca. 1 MB) Hinweise, Verbesserungsvorschläge oder neue Vorlagen können Sie über unsere Mailinglisten oder Issuezilla einbringen. Weitere Vorlagen finden Sie * in unserem Dateibereich , * auf dem deutschen OpenOffice.org -Portal, * auf der PrOOo -Box oder * bei office-center-epj .

Mausgeschwindigkeit einzelner Mäuse unter Ubuntu anpassen

Mäuse mit einer sehr hohen Abtastrate bewegen den Pointer viel zu schnell. Leider gibt es keinen Regler, mit dem man die Geschwindigkeit unmittelbar herunterregeln kann. Helfen kann das Kommando "xinput": In Kürze: Open a terminal Run the command: xinput --list --short ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Razer USA, Ltd DeathAdder Mouse id=6 [slave pointer (2)] ⎜ ↳ Razer USA, Ltd DeathAdder Mouse id=7 [slave pointer (2)] ⎜ ↳ Razer DeathAdder id=11 [slave pointer (2)] ⎜ ↳ Macintosh mouse button emulation id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Power Button id=9 [slave k