problem with tunneling
I create a tunnel in this way:
to enter in my local host and from here
ssh -L 10123:localhost:389 root@remote_host
In this way when I open a new ssh root@local_host session, with
telnet localhost 10123
I would be connect to remote host on 389 port. (this because I want to see ldap user in remote machine)
This seems ok I think.
the problem is that if I open an ldap browser (JXplorer ldap browser) and I try to connect to localhost 10123 connection is refused:
javax.naming.ComunicationException:[server]:[porta][Root exception is java.net.ConnectException:Connection refused]
The problem is link to tunnel that is not right?
Telnet is a clear-text protocol and ssh is a Encrypted Protocol.
Originally Posted by ojalÓ
So, if you connect to ssh with telnet you have to send everything encrypted by yourself. I think thats one of your problems..
Try to connect to SSH using ssh ?
Tell me if that helps you abit.
Nothing seems to change..
What do you get when you connect using SSH?
Since you should get a bigger error msg or something..
Can you print down exacly what you get if you start the ssh deamon.
And when you try to connect.