On 23 01 2003 12:01, ����� ������ wrote: > "��� �� �� ����������� ������� ����������� ���� ������ > ��������������/������?" ��, ��� ��� (������� �� ��-����;). �������� SQL ����� � PostgreSQL ���� SSH �����. localhost - 1.1.1.1 (client) -------------------------------- psql, ssh1, sshd. ( L1 ) -L 5432 : 2.2.2.2 : 2345 ( R1 ) -R 2345 : 1.1.1.1 : 5432 remotehost - 2.2.2.2 (server) ----------------------------------- PostgreSQL, ssh2, sshd ( L2 ) -L 5432 : 1.1.1.1 : 2345 ( R2 ) -R 2345 : 2.2.2.2 : 5432 �� 1.1.1.1 �� �������� ������� �������� ��� ���� 5432, (psql -p 5432 -h 1.1.1.1) ����� ssh1 �������� � forward-�� (�� secure channel) ��� ���� 2345 �� ���� 2.2.2.2 ( L1 ). ��� ssh2 �� � ������ �� ����� ����������� ���� 2345 �� ���� 1.1.1.1 �������� � �� forward-�� ��� �������� �� ���� 5432 (R2). ��� ����� PostgreSQL � �������� ������� �� ���� 5432 �� ���� 2.2.2.2, ����� ssh2 forward-�� ��� ����������� ���� 2345 �� 1.1.1.1 ( L2). ��� ssh1 ����� � forward-�� ��� �������� �� 5432 ( R! ). ��-������� ������ ;-) (���� ������� ����� ������). ������ �� �� ������� man ssh ��������. -- Greets, fr33zb1 ============================================================================ A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html ============================================================================
