Wednesday, June 27, 2012

Confiure Remote Connection to SQL Server

In Sql Server Configuration Manager, start SQL Server and SQL Server Browser services
Open port 1433 for tcp/ip protocol
Then you can connect to the SQL server

Tuesday, June 26, 2012

Double-hop ssh tunnel

SSH server1->SSH server2->server3:80
ssh -f server1 -L 2000:localhost:2100 ssh server2 -L 2100:server3:80
then use http://localhost:2000 to connect server3:80