Linux: Creating a ssh keypair with ssh-keygen

Hi,

ssh-keygen can be used to generate a new ssh key pair.

More »

Advertisment to support michlstechblog.info

Linux: Using ssh-agent

Hi,

if you do not always want to enter your private key password/passphrase when using certificate based ssh or scp connections then ssh-agent is your friend 🙂 .
More »

Linux: Regenerate sshd host keys

Hi,

to generate sshd host keys, for example in case of cloning a virtual linux instance, do the following steps:

Checkout the key file names

root@debdevt:~# grep HostKey /etc/ssh/sshd_config
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

More »

Linux: Creating a ssh keypair with puttygen

Hi,

use the following steps to create a ssh key pair with puttygen and import the public key on a linux hosts.

Start puttygen and generate an 4096 Bit RSA Key.

Generate an 4096Bit RSA Key

Generate an 4096Bit RSA Key

Set a strong password and save it (D:\temp\private.ppk in this example) at a secure location.
More »

Linux: ssh X11 forwarding does not work

Hi,

a friend of mine had the problem that X11 forwarding does not work on his linux box. I obligate him to check:

Ensure a X11 server is running at your local client.
More »

Original Theme by Schiy · Powered by WordPress