I want to perform ssh tunnelling for which I have been using PuTTy. Config is as follows:
Host IP:
172.XX.XX.111
Port:
22
Tunnel setting source port:
19005
Destination:
172.XX.XX.40:1521
After entering my user ID and password, I am able to see in my command prompt that
127.0.0.1:19005
is listening.
Now I want to use the ssh command for tunnelling.
This is what I have done so far:
Using PuTTy to connect to server:
Host IP:
172.XX.XX.111
Port:
22
After entering my user ID and password, I run the command:
ssh -L19005:172.XX.XX.40:1521 172.XX.XX.111
It then asks for my password. After I provide it, I check the command prompt, but now there is no configuration
127.0.0.1:19005
present in the "Listening" state.
Where am I going wrong?