Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

remote configuration over rsh

Hi

Does anybody knows if it possible to enter multiple commands over rsh on Cisco device.

I mean sequences like this:

conf t

service password-encryption

username xxxx secret yyyy

2 REPLIES

Re: remote configuration over rsh

you can only run show commands from exec mode with rsh.

It is not made to send config commands.

I just tried in my lab :

lulu-mbp$ rsh -l admin 172.16.153.140 show ver

Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISE_WAN-M), Version 12.2(33)SXI1, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2009 by Cisco Systems, Inc.

Compiled Sat 28-Mar-09 10:29 by prod_rel_team

BUT config terminal will fail :

lulu-mbp$ rsh -l admin 172.16.153.140 conf t

Permission denied.

Same for the other commands, rsh will not be the way to go here.

Community Member

Re: remote configuration over rsh

It's possible to enter conf t through rsh.

I made it. May you didn't add "enable" keyword at the end of the "ip rcmd remote-host..." command. The problem is that rsh doesn't accept more than one command at a time.

990
Views
0
Helpful
2
Replies
CreatePlease to create content