SSH - Secure Shell


Portforwarding von Remote auf den lokalen Rechner
ssh -L 19150:127.0.0.1:19150 {url}


Wie oben, nur dass auch andere auf den port zugreifefen dürfen
ssh -g -L 19150:192.168.0.1:19150 {url}


The supported escapes (assuming the default '~') are:
     ~.      Disconnect.

     ~^Z     Background ssh.

     ~#      List forwarded connections.

     ~&      Background ssh at logout when waiting for forwarded connection /
             X11 sessions to terminate.

     ~?      Display a list of escape characters.

     ~B      Send a BREAK to the remote system (only useful for SSH protocol
             version 2 and if the peer supports it).

     ~C      Open command line (only useful for adding port forwardings using
             the -L and -R options).

     ~R      Request rekeying of the connection (only useful for SSH protocol
             version 2 and if the peer supports it).



Beispiel

#!/bin/bash
# The following part connects to thalamus forwarding those gkrellm-port to thunderbird
# This connection is not routet over amygdala
ssh -L 19150:127.0.0.1:19150 -l actor tobo2.dyndns.org &
sleep 10
gkrellm -s 127.0.0.1




Siehe auch
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki