{ 5 comments… read them below or add one }

1 Gen2ly August 28, 2009 at 7:16 pm

This is one of those things you never see listed anywhere. Thank you.


2 Isaac October 28, 2010 at 1:29 pm

Thank you for the tip. I read the man-page and I was not sure, how I can use more IPs.


3 Jeremy Macdonalds November 18, 2010 at 7:14 pm


Thanks for your tutorial.

I have a related question.

I have a cpanel server with multiple IPs. I created 6 websites and each had its own IP address and ssh access. When I ssh to one of these websites using its dedicated IP address as host, if I lynx to http://whatismyip.com, the IP I get back is that of the main server shared IP instead of the website dedicated IP.

How do I fix this so that the IP returned is that that of the website?

Thanks much


4 suvendu October 29, 2011 at 9:32 am

change your DNS A record. Replace shared ip by your dedicated ip


5 Tomas M. April 26, 2012 at 8:53 pm

On ubuntu it’s:

/etc/init.d/ssh restart


Leave a Comment

Previous post:

Next post: