thanks you all for replying,
altough the hosts or dns methods works, i chosen to use the more elegant way
(thanks jason)
i added a file:
==== ~/.ssh/config begin =====
Host server1
Hostname my_external_ip.com
Port 501
HostKeyAlias server1
Host server2
Hostname my_external_ip.com
Port 502
HostKeyAlias server2
==== ~/.ssh/config end===
from now on i do not need to remember the port numbers,
do not need to update /etc/hosts or dns
just need to do:
ssh server1
or
ssh server2
thanks,
erez.
- solved (was: 2 ssh servers on 1 ip) Erez D