Solve OSX keyboard issues running virt-manager through SSH

While testing Linux KVM on Debian 6, I choose to access the management tool, virt-manager, from my Mac, running OSX Lion, through an SSH connexion. I’m using a french keyboard and discovered that it was sending garbage to the virtual machines console. I couldn’t even use the default Ctrl+Alt key binding to get out of the console.

There are a few tricks to apply to solve this.
Continue reading “Solve OSX keyboard issues running virt-manager through SSH”

Bigger SSH keys

No secrets here, just quick notes on how to generate bigger (safer ?) SSH keys.

Server keys generation:

# /usr/bin/ssh-keygen -t rsa1 -f ssh_host_key -N '' -C "tumfatig.local" -b 4096
# /usr/bin/ssh-keygen -t dsa -f ssh_host_dsa_key -N '' -C "tumfatig.local" -b 1024
# /usr/bin/ssh-keygen -t rsa -f ssh_host_rsa_key -N '' -C "tumfatig.local" -b 4096

Personal key generation:

# ssh-keygen -t rsa -C "ptijo@tumfatig.net" -b 4096

This should strengthen the key exchange phase in the cost of more intensive CPU usage during this phase.

Source:

  • How do I generate an RSA key?
  • How To Generate SSH Keys (…)