Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 753257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:52:35+00:00 2026-05-14T14:52:35+00:00

So I need to connect to a mssql server via Windows Authentication from a

  • 0

So I need to connect to a mssql server via Windows Authentication from a Unix server. Here are the obstacles:

  1. The db admin created a service account but made it Windows-Auth only, meaning I can’t pass the username and password directly to the server to connect.

  2. The admin also added my host’s server to the firewall so that it would only accept requests from my host machine.

  3. My host server has mssql enabled via freetds/sybase-dblib, but has the default ‘secure-connections: Off’ still set.

  4. I have a similar set up on my personal machine, but with secure-connections on, but I can’t connect that way since I’m firewalled.

So I’m wondering if it’s possible to set up a proxy of sorts on my host so that I can start the connection on my personal machine using my local freeTDS library, but have the request pass to the host which would (in my dream world) not require secure connections to be on but simply would pass the request along so that it came from my non-firewalled host but using the correct authentication method.

If anyone is not familiar with how Windows-Authentication works, it’s a type of Kerberos authentication where the client machine makes the request to the remote server so that credentials are never actually sent (and thus can’t be compromised by a man-in-the-middle). So I’m very doubtful that this can be done, since at some level my host machine has to do the actual work. But i thought I’d ask since I’m not totally clear on the deeper mechanics and because I really want to get this to happen.

I guess another way of looking at it is I want to use my host as a kind of VPN.

Also, I am working with my host admins to find a more long-term solution but I need to see the database as soon as possible so I can have something working when the problem gets fixed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:52:35+00:00Added an answer on May 14, 2026 at 2:52 pm

    Why don’t you try SSH port forwarding? Ie. you connect to your host server, and tell it to forward a local port to the sql server. Then you connect on your local machine using localhost:port and your connection will be tunneled over ssh through your host server.

    If your local machine is a Windows machine then just download PuTTY and follow these instructions to set up port forwarding : http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html.

    The question is of course whether your Windows credentials will be passed, but in theory this should work :p.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the question, I need to connect to a remote MySQL database from my
I need to connect and send/receive information from an MS SQL server in my
I need connect to server git. http://help.github.com/win-set-up-git/ I do everything to the point, 4
I need to connect Apache Axis 1.4 to a Webservice that uses NTLM authentication
I need to connect to a MongoDB instance from my EJB3 application, running on
i need to connect to another server we manage and have it's results (in
I need to connect a SQL Server 2008 database to an asp.net website project.
I have MySQL database server I need to update and retrieve data to/from MySQL
I have created a database emailDatabase , its stored in C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA
I have a C# Windows service which manages some stuff for my server application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.