I have set up three virtual machines, two on one virtual network and one on another virtual network via this tutorial, which was recommended on this forum for a similar issue. As such, the virtual networks were set up on two different Azure servers: Australia East and Australia South East. I then created two gateways each with different ip ranges e.g. 192.168.0.0/16 and 10.0.0.0/16 and then connected them together using the Azure interface.
Now, what I want to do is have the main client, copy files to the other two servers updating the configurations, or ssh into the other server via the client server to update or add users. However when I try to ssh username@ip_address even though I have given Azure the PSK for the network, it gives me a permission denied. So I open the ports using just in time access and the same thing, permission denied.
Yesterday, I tried having all the servers on the same network and then I added the host name systemctl and setup access for ssh via /etc/environment I was able to use ssh-copy-id and get into the slave server, yet eventually when I ran the main program I want to install and have working between the three servers, again permission denied. Am I wasting my time with Azure, is this at all even remotely possible on the service?
02-07-19 edit:
Set internal and external network via bind9. Change sshd_config to; PermitRootLogin prohibit-password, as WAV and LAN are both private_ip addresses. Could list what I did in the bind9 DNS files if needed, take from [this website] and altered for internal ip_addresses 3 and output of hadoop binary files as done here:
$ start-dfs.sh
Starting namenodes on [hadoop.dns.nameUsed]
hadoop.twor.universe: ssh: Could not resolve hostname hadoop.dns.nameUsed: Name or service not known
Starting datanodes
10.1.0.4: hadoop@10.1.0.4: Permission denied (publickey).
10.1.0.5: hadoop@10.1.0.5: Permission denied (publickey).
Starting secondary namenodes [NameOf-Client-Node]
NameOf-Client-Node: hadoop@NameOf-client-node: Permission denied (publickey).
I am wondering if it is because, a) I don't have a clue or b) I have the dns service on the client server. Anyway, nothing hurt by trying.
Haven't fully looked at the ports and may be the reason for permissioned denied, Apache Hadoop Ports