Using a headless setup, I am trying to SSH into the Workstation (SSH > Host > SSH > Gateway > SSH > Workstation - per https://www.whonix.org/wiki/File_Transfer#SSH_into_Whonix-Gateway).
The connection from Host to Gateway has been successfully created. Now trying to set up the connection from the Gateway to the Workstation. I am stumped as to why I am getting the following error:
user@host:~$ /usr/bin/ssh.anondist-orig email@example.com
Read from socket failed: Connection reset by peer
I have tried researching, but am unable to find any useful direction.
Can anyone assist?
EDIT: Figured out the issue. I had to rebuild the ssh keys on the workstation and reinstall openssh server/client.