Unable to execute commands using rsh in Solaris 9 and 10.


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to execute commands using rsh in Solaris 9 and 10.
# 1  
Old 11-11-2008
Unable to execute commands using rsh in Solaris 9 and 10.

Unable to execute commands using rsh in Solaris 9 and 10.
When I execute this command " rsh -n 172.16.67.91 ls -l " I am getting this error message.
::ffff:172.16.67.91: Connection refused
Please guide me how to enable rsh.

Thanks & Regards
Durgaprasad
# 2  
Old 11-11-2008
See this: rsh
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Nim server "Unable to execute remote client commands"

Hello, What is its mean? Could you please help me? Best regards, root@nimserver:/> nimadm -j nimadmvg -c dev4 -s spot1 -l lpp_source1 -d "hdisk7" -Y Initializing the NIM master. Initializing NIM client dev4. 0042-006 c_rsh: (exec_nimsh_cmd) exec_cmd Error 0 poll: setup failure... (2 Replies)
Discussion started by: getrue
2 Replies

2. Shell Programming and Scripting

execute remote commands with rsh

Hi, I earlier determined I cannot use FTP to execute remote commands on a server. My problem, I need to use a second server to get/put files via ftp onto my primary server and various tertiary servers. my server(A) ---> server (B) ----> server blah(c), server balh(C) I cannot directly... (1 Reply)
Discussion started by: mcclunyboy
1 Replies

3. UNIX for Dummies Questions & Answers

unable to execute while loop

Hi everyone. I wanted to print numbers from 1 to 5 in reverse order. For this I used the following code: #!/bin/bash x=5 while do echo $x x=`expr $x - 1` echo "" done echo "" Well but on compiling the above code, it gives the following error. ... (3 Replies)
Discussion started by: grc
3 Replies

4. Solaris

how to Implicitly execute some unix commands during/after Solaris reboot

I have to execute 2 commands everytime i reboot my Solaris machine. Simple "share" and "chown" commands. Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine? Any help appreciated... (2 Replies)
Discussion started by: lydiaEd
2 Replies

5. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

6. UNIX for Advanced & Expert Users

Remote commands problem using RSH & Rexec

I have enabled the RSH and Rexec command in my HP-UX server but when i try to send any command to the server it returns Execute Permission Denied except commands like ls-l C:\rsh xxx.xxx.xxx.xxx -l mpac mxpkill 12 the mxpkill command work when I log to the server using telnet with the same... (0 Replies)
Discussion started by: fhuwaidy
0 Replies

7. Shell Programming and Scripting

RSH and sending commands

Dear All, I want to rsh a machine; lets say rsh ds-00 then i want to send a couple of commands via a script to be perfomed on the remote computer for instance rsh ds-00 df -k but it is not working when i do the scripting... What can be the problem BR/asad (1 Reply)
Discussion started by: asadlone
1 Replies

8. Solaris

rsh commands not getting executed from Solaris 10 System to AIX System

Hi Friends, I am trying to execute rsh commands from Solaris 10 system to AIX system. When I give; Solaris10# rsh <hostname> ls -l , it gives me an error rshd : 0826-826 The host name for your address is not known At the same time, Solaris10# rsh <hostname> ---- gives me remote shell of... (25 Replies)
Discussion started by: jumadhiya
25 Replies

9. Shell Programming and Scripting

Error while running rsh commands !!!

Hi All I am trying to run an RSH command remotely to a machine, but I am gettinf the following errors, can anyone help me to resolve the errors user@server10:~> rsh user@server24 'uname -n' rcmd: getaddrinfo: Temporary failure in name resolution Thanks in advance to all Chirantan (3 Replies)
Discussion started by: csaha
3 Replies

10. UNIX for Dummies Questions & Answers

return codes from rsh commands...

I have a Korn shell script that executes a number of commands on a remote server. Is it possible to feed in the last exit code of the rsh commands (i.e. something like $?) to a variable within the local shell script? I tried the following: returncode=$(rsh spns31 ".... (1 Reply)
Discussion started by: bbouch
1 Replies
Login or Register to Ask a Question