I need to create a remote tunnel from a remote computer back to the local computer initiating the ssh session. So computer A ssh connects to computer B and I want to tunnel port 80 from computer B back to computer A.
It works when computer A logs in to ssh on computer B as root. Then any user on computer gets a port 80 tunnel back to computer A. But I would prefer that computer A logs in to ssh on computer B as user1 and then user1 can log in locally (or any user) and have port 80 tunneled to computer A but this does not seem to work as user1. Anybody know why or if there is not possible to do it that way?
It works when computer A logs in to ssh on computer B as root. Then any user on computer gets a port 80 tunnel back to computer A. But I would prefer that computer A logs in to ssh on computer B as user1 and then user1 can log in locally (or any user) and have port 80 tunneled to computer A but this does not seem to work as user1. Anybody know why or if there is not possible to do it that way?