cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1757
Views
0
Helpful
1
Replies

problem with rsh (remote shell)

amerador20
Community Member

Hi!

I'm spanish and my english is not very good. I'm development a soft that connect with router cisco with rsh. And i have to send rsh commands but i can't. From my Linux shell command a request rsh:

rsh 192.168.1.5 cisco-rsh

cisco-rsh is a user that has privileges.

A configuration of my FastEthernet0/0 on my router(cisco 2600) is:

no ip rcmd domain-lookup

ip rcmd rcp-enable

ip rsh-enable

ip rcmd remote-host cisco-rsh 192.168.1.33 cisco-rsh enable

ip rcdm remote-username cisco-rsh

ip rcmd source-interface FastEthernet0/0

Then what is my problem? only can use rsh because my teacher is required.

1 Reply 1

vkapoor5
Level 10
Level 10

To enable the Cisco IOS software to receive incoming remote shell (rsh) protocol and remote copy (rcp) protocol requests, customers must configure an authentication database to control access to the router. This configuration is accomplished by using the ip rcmd remote-host command.

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftAuth.html