I have a server with a static public ip address which I can access by ssh. This server is connected to a private network and inside this network there is another server with its private ip. Is there any way I can access this private server passing through the one wit public address?
I have been trying first to connect to the server with public addres something like
ssh firstname.lastname@example.org once logged in that server I type ssh email@example.com
and I get permission denied (public key,password)
I tried generating the key and then copying it to the final destination
nevertheless nothing worked.
Connections work, usernames are correct and when loggin within the network its ok, but it doesnt work if I try to connect to a server from within the other server, any ideas? anyone? please?