- Create a new SSH key (set strong Password)
ssh-keygen -t ed25519 -C "user@host" - by default it's stored in
~/.ssh/id_ed25519(private key) and~/.ssh/id_ed25519.pub(public key) - add your public key (not Private !) where you need it, e.g. the following places and remove old ones:
Posts tagged ssh
Mount sshfs for e.g. Hetzner
To mount your storage box at Hetzner with sshfs, use:
sshfs -p23 $HETZNERUSER@$HETZNERUSER.your-storagebox.de: $HOME/mnt/hetzner/ -o allow_other,reconnect,_netdev,ServerAliveInterval=15,ServerAliveCountMax=3