Outils pour utilisateurs

Outils du site


bms:utils:ssh

Ceci est une ancienne révision du document !


Table des matières

SSH Utils

Commands

  • Generate a SSH key
    ssh-keygen -t ed25519 -C "key name" -f <file_path>
  • Generate a RSA SSH key
    ssh-keygen -t rsa -b 4096 -C "key name" -f <file_path>

Configuration

  • Connect to a server without providing the key file, add the following to ~/.ssh/config.
    Host <IP or Domain>
      User <username>
      IdentityFile <ssh key file>
  • Use the SSH agent to avoid inputing the password everytime
    ssh-add <private key path>
bms/utils/ssh.1654110022.txt.gz · Dernière modification : 2022/06/01 21:00 de 195.68.6.6