LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2003, 08:51 PM   #1
jweag
LQ Newbie
 
Registered: Nov 2003
Distribution: 9
Posts: 5

Rep: Reputation: 0
Use SSH to connect MS SQL Servers


I want to use SSH to connect SQL servers. I have Machine 1 with MS SQL 2000 that will SSH into a redhat linux machine. i hope to forward the request on the linux machine to Machine 2 running MS SQL 2000. I am trying to create scripts to make the connection in windows. here is an example:


C:
cd \mspssh
copy /y outside.hst C:\WINDOWS\system32\drivers\etc\hosts
cls
start "Remote Microsoft Project access" /min plink.exe -batch -P 22 -ssh -2 -C -x -a -T -l puser -L 1433:xxx.xxx.xxx.xxx:1433 xxx.xxx.xxx.xxx -i id_rsa.ppk



Can someone explain this script? Thank you. My end result is that after i run the script on Machine 1 that it will then be able to connect to the sql service using database apps.
 
Old 11-12-2003, 05:22 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
What are you trying to archieve?
 
Old 11-12-2003, 09:13 PM   #3
jweag
LQ Newbie
 
Registered: Nov 2003
Distribution: 9
Posts: 5

Original Poster
Rep: Reputation: 0
what i am trying

i am trying to get 2 differnt sql servers to see each other even though both are behind different firewalls.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MY SQL cant connect to sock kizuna Slackware 7 11-12-2005 07:49 AM
TOMCAT connect to MS SQL database shane200_ SUSE / openSUSE 1 06-01-2005 01:41 PM
can not connect to sql with php gkaffen338 Linux - Newbie 5 04-22-2004 11:36 AM
Connect to SQL Server dhome Linux - Software 1 03-08-2004 12:56 PM
how do i connect thru SQL Server Running on windows NT puru_09 Linux - Software 1 08-11-2002 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration