Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /home/clients/b3210866d561bab17953c626461c9d99/sites/wiki.buumy-soft.com/inc/init.php on line 47
bms:utils:ssh [BMS Wiki]

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