I have a few systems which are connected to the same network switch. All of them are running linux / Ubuntu 18.
I want to remotely access one machine to another through ssh.
That is, if I'm operating on one of the machines, I want to remotely access the other through ssh.
How can I go about it?
Assume I do not know the ip addresses of any of the machines and just have access to one of them. I would need the steps to obtain the ip addresses of the other machine. I'm ONLY allowed to operate a single machine on the same switch which I have access to
Eg. I have Machine A, B, C, D connected to switch S. I can only have access to A and nothing else.
I came across some SO answers which advised the use of arp -a but never went beyond that.
What are my options to do something like this?