Hallo m.,
ich will einzelne Hostnamen auf bestimmte Ports umleiten. Das heisst, ich macht z.B.
ssh hostUnd 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
Dann via ssh example verbinden. Siehe auch man 5 ssh_config.
LG,
CK