LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Login to ssh using domain name (https://www.linuxquestions.org/questions/linux-server-73/login-to-ssh-using-domain-name-4175530111/)

blackRonin 01-05-2015 01:07 PM

Login to ssh using domain name
 
Hello

I want use domain name to login to ssh.
Loging with address ip (ssh root@1.2.3.4)
working great.

ssh root@domain.com - not working.

I'm using my domain registrar dns.

I configured record:
NS
NS
A
MX 1
CNAME

CNAME shows www.domain.com domain.com

Which record should i use to ssh connection ?

Habitual 01-05-2015 02:49 PM

terminal >
Code:

ping -c1 -w1 domain.com
does it return the A Record (IP) for the domain?


All times are GMT -5. The time now is 10:59 PM.