ComputerA connects though putty to Server at port 77, and there is a reverse tunnel set up from the Server at port 6666 to ComputerA at port 22. ComputerA also has a ssh server set up with a user account named ComputerA_user_name.
I can ssh from ComputerB into Server with the command
ssh admin@Server -p 9000 -D 6000. Then I run a ruby program on my computer, ComputerB, which makes a socks proxy connection on port 6000 and it runs through Server. How do I make the ruby program connect through proxy from ComputerB to ComputerA?
What I am trying now is after I ssh in from ComputerB to Server runnng this command on Server
ssh -D 9000 localhost -p 6666 -l ComputerA_user_name to bind from ComputerB to the Server, and then bind from Server to ComputerA but it gives me the message,
bind: Address already in use.