Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any router setting that does the ssh domain forwarding? Currently I have one static IP and have multiple machine under it and I have multiple domains point to same IP and each domain dedicated to specific machine. So I just want to access those machine via ssh.

abc.com --> 192.168.1.10

bcd.com --> 192.168.1.11

dbc.com --> 192.168.1.12

I know that we can access the web requests using proxy or load balancer but how can we access through ssh console?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can set daemons to listen on different ports. Then forward ports to each server accordingly. Use:

ssh -p port_number external_IP 

to connect to them.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.