FlemmingFrandsen
01-09-2010, 08:22 AM
I've always been using key-login for administration of airos over ssh, so logging in via ssh with a password is not something I need and I'd like to turn it off.
I've seen that 5.1 has the option to turn ssh password logins off, but I can't find a way to upload my public key without using ssh, that means that to set that option I'd need to:
1) Configure the unit, with ssh password login turned on.
2) Upload my public key via ssh with password login.
3) Re-configure the unit to disable ssh password logins.
Is there a way to include the public key in the configuration file, so I can skip steps 2 and 3?
I've seen that 5.1 has the option to turn ssh password logins off, but I can't find a way to upload my public key without using ssh, that means that to set that option I'd need to:
1) Configure the unit, with ssh password login turned on.
2) Upload my public key via ssh with password login.
3) Re-configure the unit to disable ssh password logins.
Is there a way to include the public key in the configuration file, so I can skip steps 2 and 3?