I am trying to use RSH commands using for example: rsh -l root 10.0.2.5 "ls"
When I run this command I get
getnameinfo: Temporary failure in name resolution
getnameinfo: Temporary failure in name resolution
but I get a shell by just running rsh -l root 10.0.2.5
How do I fix this issue? (I have to use RSH, I am exploiting this service suggesting a switch would defy the point)