Skip to main content

.ssh/config file

vim /home/$USER/.ssh/config
Host <name>
    Hostname <ip>
	User <user>
	Port <PORT>
	IdentityFile /home/<USER>/.ssh/id_ecdsa
 ssh-keygen -t ecdsa -b 521
ssh-copy-id -i /home/$USER/.ssh/id_ecdsa $SSH_USER@$IP