Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
zeki893
New Contributor II

ssh_rsa_verify: RSA modulus too small: 512 < minimum 768 bits key_verify failed for server

Can't ssh to the fortigate VM. Please help.

5 REPLIES 5
ede_pfau
SuperUser
SuperUser

For me it looks like your ssh client is using a 512 bit key, and the FGT requires a key of 768 bit length or more. I've never seen this before as I'm using 1k bit keys.

Try to use a different ssh client, like Putty.

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
emnoc
Esteemed Contributor III

Or just re-create a key size  greater than 512K. IMHO nobody serious with security, should be using a key-pair less than 1024K. Once again , just  IMHO.

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
ede_pfau
SuperUser
SuperUser

@emnoc:

key length is not measured in "K" these days...maybe in the near future

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
emnoc
Esteemed Contributor III

oops yeap that should 512 bits and not bytes.

PCNSE 

NSE 

StrongSwan  

PCNSE NSE StrongSwan
hzheng_FTNT

Hope not too late.

You got issue is just because your FGT VM without license.

 

to ssh to your 15 days FGT vm via ssh , you need to configure on FGT

config sys global

  set admin-ssh-v1 enable

end

 

then on your client side

ssh -1 -c des admin@yourip

 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors