Skip to content

Leibnix

IT and more

  • Home

Connect to a host via SSH without entering the password

May 27, 2025
 |  No Comments

generate a new ssh key if you don’t have one

ssh-keygen -t ed25519

copy the content displayed with

cat ~/.ssh/id_ed25519.pub

enter the host via SSH

In the root there should be a hidden folder called .ssh, if it doesn’t exist create it

mkdir -p ~/.ssh

copy the generated ssh-key into

~/.ssh/authorized_keys

Done, then you can connect to the host without entering a password

Post Views: 18
Tags: authorized_key, host, key, login, password, ssh

Post navigation

← communicate 2 PCs via public IP with TCP or UDP
host on LAN access through the Internet →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • about-leibnix
  • ai
  • algorithm
  • assembler
  • car
  • console
  • cryptocurrencies
  • formula 1
  • git
  • hash
  • information
  • investment
  • iso
  • java
  • linux
  • machine-learning
  • macos
  • maven
  • message
  • messaging
  • musgario
  • nc
  • new-library
  • nmap
  • P2P
  • package
  • port
  • printer 3d
  • protocol
  • public_ip
  • python
  • random
  • rb19
  • redbull
  • regresion-linear
  • server
  • spring-boot
  • ssh
  • ssl
  • stocks
  • terrario
  • vim
  • web
  • windows
Leibnix Theme By SKT Minimal