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.pubextension.
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_keysfile 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 theauthorized_keysfile, 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-agentandssh-add, follow the steps below:
- At the Unix prompt, enter: eval $(ssh-agent)
- Enter the command: ssh-add
- Enter your private key password.
- When you log out, enter the command: kill $SSH_AGENT_PID To run this command automatically when you log out, place it in your
.logoutfile (if you are usingcshortcsh) or your.bash_logoutfile (if you are usingbash).
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...
Kommentare