Article 6JKEK Forwarded ssh login

Forwarded ssh login

by
hellouniverse
from LinuxQuestions.org on (#6JKEK)
I have a vps running ubuntu and set up a subdomain that forwards to the vps' ip address. I thought this would be an easy way to connect without having to memorise the ip address.

Now when I connect to the vps with PuTTy SSH using the ip address all works fine. When I connect using the subdomain I get the log in prompt but my log in doesn't work. I noticed that the "source" after the '@', following the 'root' differs:

login as: root
root@12.34.56.78's password:
vs
root@mysubdomain.mydomain.com's password:

Is this the problem? Can I fix this somehow? How do I do this properly?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments