0

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

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)

6
  • I believe rsh needs rDNS working on the target machine Jun 5, 2017 at 9:48
  • @roaima its confusing why it needs the rDNS to send a command when I can get a shell :s
    – TheHidden
    Jun 5, 2017 at 9:56
  • Does rsh -l root 10.0.2.5 "ls" always fail and rsh -l root 10.0.2.5 always work? Does it matter if you try them the other way around (say with an hour wait in between)? Jun 5, 2017 at 9:56
  • @EightBitTony always
    – TheHidden
    Jun 5, 2017 at 9:57
  • Is this the original rsh that trusts the client for "verification" or the one with kerberos added? Jun 5, 2017 at 10:08

0

You must log in to answer this question.

Browse other questions tagged .