Im was not sure were to post this, so here i am.
The situation is like this:
PC (A) runs linux and ssh server and its behind a firewall. (privs:root)
PC (C) has direct access to the internet. (privs: root)
In the parenthesis i have written down my privs to each server.
I would like to be able to ssh to PC (A) from PC(C).
I have tried doing some ssh tunnels to be able to do that, but i had no luck. This is what i tried:
ssh -x -e none -l <username> -L 7777:<PC (A)>:22 <PC (C)>
in order to be able to do an "ssh <username@<PC (C)> -p 7777" and that would redirect me to <PC (A)>.
Is there something im doing wrong ? Is there any kind of ssh "proxy" that i could use ?
Thanks in advance and please forgive any grammar errors i've made, english is not my native language