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

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>
  • Remove a server from the known hosts
    ssh-keygen -f ~/.ssh/known_hosts -R "<IP or domain>"

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.txt · Dernière modification : 2022/08/15 19:04 de 2a01:e0a:232:e2e0:330d:3351:3900:587b