Hey folks,
I am going through the rsh commands on a 25xx router trying to figure out how I can get it
to work with my NT server command prompt. I have been unable to get this to work thus far using numerous permutations and do not know why. Please look at the commands I used below and see if I have forgotten anything or if I misunderstand the usage parameters etc.
 
Feedback appreciated.
 
My router commands:
 
routerb(config)#ip rcmd rcp-enable
routerb(config)#ip rcmd rsh-enable
routerb(config)#username administrator nopassword
routerb(config)#ip rcmd remote-host administrator 148.1.1.2 administrator enable
routerb(config)#ip rcmd remote-user routerb
 

The relevant info:
 
*Routerb eth 0 IP: 148.1.1.4  Can ping it from NT box.
*Logging in under NT with username administrator
*IP of NT box 148.1.1.2
*Using command on NT box: rsh 148.1.1.4 -l administrator -n sho ver
 

Using the debug ip tcp rcmd the output is as follows:
 
01:49:16: RCMD: [514 <- 148.1.1.2:1023] recv 1022\0
01:49:17: RCMD: [514 <- 148.1.1.2:1023] recv Administrator\0administrator\0sho ver\0
01:49:17: RCMD: [514 <- 148.1.1.2:1023] recv -- administrator 148.1.1.2 Administrator not
in trusted hosts database
01:49:17: RCMD: [514 -> 148.1.1.2:1023] send <BAD,Permission denied.>\n 
 
 

Reply via email to