remote configuration over rsh

Unanswered Question
Jul 13th, 2009


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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Lucien Avramov Mon, 07/13/2009 - 23:00

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 show ver

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

Technical Support:

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 conf t

Permission denied.

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

rish01 Mon, 07/13/2009 - 23:39

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.


This Discussion