Unable to reach SQL database through SSH tunnel using sqlcmd
问题 I need to connect to a an Azure SQL DB from my local machine through a jump box (Azure VM). I set up the port forwarding using the command: ssh -fN -L 41433:my-db.database.windows.net:1433 me@jump-box I can confirm the tunnel is set up because in verbose mode i see the message Local connections to LOCALHOST:41433 forwarded to remote address my-db.database.windows.net:1433 Now, when I run sqlcmd -S 127.0.0.1,41433 -U username -P password -d db I get the following error message Sqlcmd: Error: