What’s the hostname of your machine? For example, if I start a release with --sname foo, on my macbook, which has a hostname of mymachine.local, I can connect to it with --remsh foo@mymachine. As you can see it’s dropping the TLD. My recommendation is to always use -name and specify the hostname to use – as long as it’s routable on the machine, (i.e. 127.0.0.1 or localhost) it will work for remote shells started on that machine. If you need to access it from another machine, then it needs to be routable from that machine, so using a DNS name makes more sense.
I figured out a way to connect to the node via the local ip address:
basically make sure that name contains the ip address (not the hostname) like described here: Dynamic node naming with distillery?. then i can connect via:
You need to specify the host name with --name debug@<hostname_or_ip>, that’s why it’s complaining about not being able to set the long node name. Otherwise it should work fine as long as the hostnames are routable (i.e. you should be able to ping the hostname from the host attempting the remote connection, assuming your network is allowing ICMP traffic).
that works, it only works when I specify name with --name with debug@<something> doesn’t matter but it only works with the long name. debug alone does not work.
I’d like to rename the remsh parameter though with the hostname. I did not get to work it at all. I always get the error:
2017-08-19 23:00:16 ** System running to use fully qualified hostnames **~n** Hostname ~ts is illegal **~n
"6760f2ccdb70"
The name configuration when starting the app is the following: