source: tunnel/tunnel_scripta.cmd@ ae042f4

main
Last change on this file since ae042f4 was 268fb33, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 2 years ago

Tunnel script for connecting with the database

  • Property mode set to 100644
File size: 699 bytes
Line 
1@echo off
2echo "PRED DA JA STARTUVATE SKRIPTATA TREBA VO NEA DA GI STAVITE"
3echo "VASHETO KORISNICHKO IME I LOZINKA ZA TUNELOT."
4echo "PO STARTUVANJETO, BAZATA KJE BIDE DOSTAPNA NA PORTA LOCALHOST:9999"
5echo "AKO SAKATE DA SLUSHA NA DRUGA PORTA, SMENETE JA SKRIPTATA SOODVETNO"
6echo "AKO SAKATE DA STOPIRATE (CTRL+C)"
7pause
8
9plink -v -ssh -2 -C -N -L 5444:localhost:5432 -pw 165eed37 t_autopartzmk@194.149.135.130
10
11echo "VRSKATA TREBA DA STOI OTVORENA SE DODEKA IMATE PRISTAP DO SERVEROT"
12echo "OVAA PORAKA KAZHUVA DEKA TUNELOT VEKJE SE ZATVORIL"
13echo "AKO TOA SE SLUCHILO SAMO OD SEBE, IMATE PROBLEM SO VOSPOSTAVUVANJE"
14echo "NA VRSKATA DO SERVEROT (BLOKADA) ILI VI SE POGRESHNI PARAMETRITE"
15pause
Note: See TracBrowser for help on using the repository browser.