Hi all, I've a particular host on my network that when I run; rexec -l username -p password remotehost command it just hangs. When I do; rexec -a -l username -p password remotehost command i get; Where are you? If I do; rexec -l username -p password localhostname (not just localhost but its actual name) command it works. Any ideas would be very appreciated. - aurf
aurfalien at gmail.com writes:> Hi all, > > I've a particular host on my network that when I run; > > rexec -l username -p password remotehost command > > it just hangs. > > When I do; > > rexec -a -l username -p password remotehost command > > i get; Where are you? > > If I do; > > rexec -l username -p password localhostname (not just localhost but > its actual name) command > > it works. > > Any ideas would be very appreciated.You do know you can achieve that with ssh as well, don't you? Other than that I don't know what to advise; never used rsh.> > > - aurf > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On 08/21/2010 07:04 PM, aurfalien at gmail.com wrote:> Any ideas would be very appreciated.If you can configure your application to not use '-p', you can probably remove rexec, symlink that path to ssh, and use ssh instead.
On Sat, 2010-08-21 at 19:04 -0700, aurfalien at gmail.com wrote:> Hi all, > > I've a particular host on my network that when I run; > > rexec -l username -p password remotehost command > > it just hangs. > > When I do; > > rexec -a -l username -p password remotehost command > > i get; Where are you? > > If I do; > > rexec -l username -p password localhostname (not just localhost but > its actual name) command > > it works. > > Any ideas would be very appreciated. > > > - aurf > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosCheck whether your localhost are in /etc/hosts on the server (or whatever equivalent could be) or your machine has a valid DNS entry. Did it worked before? -- Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 ================================================Power Company having EMP problems with their reactor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100823/e50ec977/attachment-0002.html>