Matthew Walster wrote:
2009/8/20 Nam, Nguyen Hoang <[email protected]>

When I config ssh-rsa key  begin "1024 ....


The 1024 is there for you, not for the key - the parses already knows it's
1024-bit, hence the big long base-64 string.


My question is how to config ssh-rsa to affect the authentication


Just prefix the key with ssh-rsa, for example:

            authentication {
                ssh-rsa "ssh-rsa AAAAB...";
            }

Then it'll work fine. It's counter-intuitive, but if you just paste in the
whole line from ".ssh/id_rsa.pub" you should be fine.

It also works with ssh-dsa keys as the ones that get genereated automatically by OpenSSH ssh-keygen:

authentication {
   ssh-dsa "ssh-dss ....rest_of_the_key";
   }


_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to