hallo tobias,

den kannte ich ja schon, ich hab noch eine Vereinfachung, wie es ssh
selbst vorsieht:

less ~/.ssh/config


host schule
 Port 2222
 HostName unsere-schuldomain.de oder IP
 User linuxadmin
 ForwardX11 yes
 ServerAliveInterval 300
 ServerAliveCountMax 100
 LocalForward 4433 localhost:443
 LocalForward 2422 localhost:242
 LocalForward 5900 rl-pc03:5900
 LocalForward 5901 rl-pc02:5900
 IdentityFile /home/tobias/.ssh/id_rsa

Dann muss ich auf meiner Konsole nur noch:

$ ssh schule

eintippen. die 5900 ports sind im Übrigen für VNC gedacht. Im Programm
muss ich nur noch "localhost:0" oder "localhost:1" als VNC-server
angeben und lande auch rl-pc03 und rl-pc02 respektive.

Ich freue mich über weitere dieser Adventstürchen :)

das gefällt mir noch besser als gstm

vg
wolfgang
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an