years later… I thought I’d contribute because this is the first result I got in the websearch for this hackinabox question. Giving answers is hard too! I don’t think you should assume he’s been challenged for a password. He might have just typed in the password while the connection is timing out. Maybe he was prompted for a password, maybe not. I’ve gotten no response at all trying to ssh from my own computer. the cursor blinks (I’ve set my terminal cursor to blink like the old days) until “connection timed out”
Forget trying to copy it just type the password in once you have conncted to the correct spawned target. That’s how I got it working.
I am having almost the same problem with my ssh, I have done it before but I came back to HTB a year or so later and for some reason can’t SSH into any ip address that they give me, the cursor in the terminal just blinks.
I have went as far as downloading ParrotOS as a VM and trying to get that to work but it doesn’t.
Any help on this matter would be amazing.
My input looks like this: ssh htb-student@
■■■! this small mistake wasted my one 1 hour.