How to connect to SSH before Tor if i use whonix gateway and debian

hello

i was searching info about how i can configure whonix gateway and the ssh tunnel

but i have some doubts …

what steps are needed to configure the ssh server in whonix gateway ?

this steps are correct?

and when i put it in the console

lynx check.torproject.org

Can’t Access `file://localhost/home/user/check.torproject.org’
Alert!: Unable to access document.

what should i do ?

thank you very much