Accessing SQL Server over an SSH tunnel

前端 未结 4 1617
半阙折子戏
半阙折子戏 2021-01-02 15:06

In my development shop, we deploy code on virtual servers that sit on a remote network.

We access the machines on that network by first opening an SSH connection to

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-02 15:19

    For Authentication type Azure Active Directory - Universal with MFA (Mutli-Factor Authentication), in addition to specifying the port correctly (127.0.0.1,3398), I also had to point the host to localhost.

    On Windows, I had to edit my hosts file to include the server host:

    127.0.0.1    server.example.com
    

    Then, in SSMS, I could connect to server.example.com,3398, which would perform the MFA correctly.

    I could have performed this redirection at a higher DNS level as well.

提交回复
热议问题