Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    ssh key generater problem

    I have this problem. I am running Mandriva Free 2007 and I try to generate ssh key by running this command

    [system]$ ssh-keygen -t dsa -b 2048 -f /home/cron/backup-rsync-key

    And I always get this output:

    DSA keys must be 1024 bits


    Is there anyone know who to fix this problem. I want to generate 2048 ssh key not 1024.


  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Pretty strange - I don't have that restriction on my FreeBSD box. However, on my FC5 box I see the same message as you do.

    From the ssh-keygen manpages on FC:
    DSA keys must be exactly 1024 bits as specified by FIPS 186-2.
    Generate a rsa key instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts