You are Here:
FAQ
Scripting and Programming Languages
SSH (Secure Shell)
SSH Upgrades
Article #6
Handling OpenSSH Authorization Files to Support SSH2
For SSH-1 connections, OpenSSH/1 uses the same authorized_keys file as SSH1.
All configurations that are possible with SSH1 are available within OpenSSH/1.
For SSH-2, OpenSSH/2 takes a new approach. A new authorization file, ~/.ssh/authorized_keys2 is created, with a format similar to that of
authorized_keys. Each line may contain:
• Key authorization options (optional)
• The string "ssh-dss" (required)
• The DSA public key, represented as a long string (required)
• A descriptive comment (optional)
An example with the long public key abbreviated:
host=192.168.10.1 ssh-dss AAAAB3NzaC1kc3MA... My OpenSSH key
© 2008 1&1 Internet Inc - About 1&1 Internet