OpenSSH - ArchWiki - Arch Linux
wiki.archlinux.org › title › OpenSSHSo the prerequisite is that client's keys are authorized against both the relay and the server and server's need to be authorized against the relay as well for the reverse SSH connection. The following configuration example assumes that user1 is the user account used on client, user2 on relay and user3 on server.