Hi, i have a switch 2960 24TC-L with c2960-lanbasek9-mz.150-1.SE.bin and SSH v1 enabled.
When i try to enable SSH v2 the swith tell me that i have to create a crypto key rsa. I generated the crypto key rsa with 1024 bits and when i try to enable the SSH v2 i receive the same message.
The current SSH session should not break during the recommended operation. However, for maximum resiliency, I would personally suggest using a different CLI access method (Console or Telnet) just to make sure the SSH session does not get corrupted. In any case, if the SSH session was closed before the SSH keys are generated anew, you would not be able to SSH into the device anymore.