OpenBSD Servers
Service Status
Password Reset
Email Alias Request
Webstats
Tutorials
FTP
Email
SSH
Certificates
Home

OpenBSD Servers Support Tutorials

SSH Passwordless Logins on OpenBSD

Instructions for passwordless logins with SSH on OpenBSD

machinea$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/filecopier/.ssh/id_dsa): 
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/filecopier/.ssh/id_dsa.
Your public key has been saved in /home/filecopier/.ssh/id_dsa.pub.
The key fingerprint is:
5b:a6:53:b6:e3:31:e3:2d:0b:f6:72:c5:dd:97:69:f9 filecopier@machinea

Copy the id_dsa.pub to machineb and place and rename it to /home/filecopier/.ssh/authorized_keys

From machinea you can then login via `ssh -i ~/.ssh/id_dsa filecopier@machineb`

Last Update: 01/01/06
Copyright © 2003 - 2006 OpenBSD Servers