Reverseshell

On machine behind firewall you want to reach;

$ ssh -R 43022:localhost:22 user@machine-a.ank

user - name of valide user on remote machine.

Then to access from remote machine, on the remote;

$ ssh -p 43022 user@localhost