I don’t think the following applies to the OP but …
If you boot Jumpdrive then you should be able to telnet
into the phone, from which you may be able to enable SSH if it was previously installed but was not left enabled in Settings / Sharing (and assuming that your install is not too badly borked).
But then if you can boot Jumpdrive then you would do periodic backups so that when something bad like this happens you can restore from backup, worst case.