Re: Syncing local and remote database (General questions)
Ketan,
This implementation that you ask would work you can connect to your server and use Add Method under Connected Event here is example how you should do it after you connect:
------------
Private Sub ssh_1_Connected()
SSH_1.Channels.Add LocalListen, 127.0.0.1 ,3000, your_server_address_or_address_where_server_bind , 3000
SSH_1.Channels.StartAll
End Sub
------------
When type = LocalListen then 'port forwarding' is initiated between wodSSHTunnel and the SSH server. (wodSSHTunnel listens to local sockets and forwards requests to the SSH server) so wodSSHTunnel listens on this port and accepts new connections.
More help you can find here:
http://www.weonlydo.com/SSHTunnel/Help/wodSSHTunnelLib~Channels~Add.html
You can also try first sample in category VB under Samples Folder which is part of SSHTunnel folder.
Hope I helped.
Regards,
Drazen
Complete thread:
- Syncing local and remote database - Ketan, 2006-04-07, 21:04
- Re: Syncing local and remote database - wodDrazen, 2006-04-07, 21:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:58
- Re: Syncing local and remote database - woddrazen, 2006-04-07, 22:38
- Re: Syncing local and remote database - Ketan, 2006-04-08, 22:57
- Re: Syncing local and remote database - wodDrazen, 2006-04-09, 01:01
- Re: Syncing local and remote database - Ketan, 2006-04-09, 02:21
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 03:02
- Re: Syncing local and remote database - Ketan, 2006-04-09, 09:16
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 14:20
- Re: Syncing local and remote database - Ketan, 2006-04-09, 09:16
- Re: Syncing local and remote database - wodAlan, 2006-04-09, 03:02
- Re: Syncing local and remote database - Ketan, 2006-04-09, 02:21
- Re: Syncing local and remote database - wodDrazen, 2006-04-09, 01:01
- Re: Syncing local and remote database - Ketan, 2006-04-08, 22:57
- Re: Syncing local and remote database - woddrazen, 2006-04-07, 22:38
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:58
- Re: Syncing local and remote database - Ketan, 2006-04-07, 21:38
- Re: Syncing local and remote database - wodDrazen, 2006-04-07, 21:38