Are you sure that your Mac is turned on, signed into, and connected to the internet when you’re hitting Generate SSH? Usually the only time it’ll time out is if it isn’t able to connect to a Mac which could be a multitude of things but it’s best to check the most simple things first.