Ssh server

I am using Ubuntu 10.04 Lucid Lynx. I have installed openssh-server. When I try to connect through remote network by
ssh username@hostname …
I get a message as “ssh: could not resolve hostname :name or service not known”. What should I do? Should I install anymore?
Please help me with this… Thanks in Advance…

Did you enable SSH account via DH panel --> Domains --> Manage Domains?

Although “could not resolve hostname” implies a DNS problem. You dont say if you are trying the bare ‘hostname’ or the full ‘

What happens if you use the IP address instead eg


If that works make sure that ‘nslookup hostname’ is returning the correct ip address for your server.