Portumleitung unter Linux
bearbeitet von Christian KruseHallo m.,
> ich will einzelne Hostnamen auf bestimmte Ports umleiten. Das heisst, ich macht z.B.
>
> ~~~
> ssh host
> ~~~
>
> Und es wird automatisch von Port 22 auf Port XY umgeleitet.
Du möchtest dir eigentlich eine `.ssh/config` anlegen und dort eine Konfiguration für deinen Host reinschreiben:
~~~
Host example
HostName example.org
Port 23
User foo
~~~
Siehe auch `man 5 ssh_config`.
LG,
CK
--
[CK kennt Wayne](http://ck.kennt-wayne.de/)