https://bugzilla.mindrot.org/show_bug.cgi?id=3831
Bug ID: 3831
Summary: Invalid key length
Product: Portable OpenSSH
Version: 9.2p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: oriondecarvalho at gmail.com
ssh root at ciscoAsr1002
ssh_dispatch_run_fatal: Connection to ciscoAsr1002: Invalid key length
how to connect?
I need conncect to a rsa 768 size length
ssh -oRequiredRSASize=768 root at ciscoAsr1002
ssh_dispatch_run_fatal: Connection to ciscoAsr1002: Invalid key length
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=3831
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Stock OpenSSH has not supported keys less that 1024 bits since OpenSSH
7.6 (specifically commit bd636f409) in 2017.
This is a compile-time constant so if you want you can build a modified
OpenSSH by changing this line:
$ grep RSA_MIN *.h
sshkey.h:#define SSH_RSA_MINIMUM_MODULUS_SIZE 1024
(In reply to Orion Alves from comment #0)
[...]> ssh -oRequiredRSASize=768 root at ciscoAsr1002
Stock OpenSSH has no such option. If you are using a vendor-modified
OpenSSH then you need to report any problems with it to them.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.