Reputation: 15844
I just spun up a new Azure VM from the portal. I want to find the FQDN of the said portal so that I can connect to it via SSH, using this scheme: ssh username@FQDN -p 22
Can anyone tell me where to look? I've spent many hours trying to do this, but to no avail.
Upvotes: 5
Views: 14036
Reputation: 1244
For you to get your FQDN on azure you should execute on Linux:
hostname -f
this will give you the name of the machine to see how you connect to the machine you need to be inside the same network. or if you are outside the network you need to look at the IP of the machine, not the machine FQDN and on the IP of the machine, you can see the DNS settings. to verify what are the IPs that you have if you are using version 2 you can go to this URL: https://portal.azure.com/?l=en#blade/HubsExtension/BrowseResourceBlade/resourceType/Microsoft.Network%2FPublicIpAddresses/scope/
Upvotes: 2
Reputation: 8161
On a windows azure vm; you need to be logged into the machine you want to find the FQDN
ipconfig
to find your ip.ping -a IP
. The "-a" switch returns the domain name of your server. It will be in the first line. Upvotes: 3