I am a moron; I can't figure it out.
How do you make a cisco so that you can rsh into it (to use Mr. Kerns looking glass)?
ip rcmd rsh-enable ip rcmd remote-host name1 205.163.58.15 name2 ----- Name1 = Name you will use on rsh command line -l switch Name2 = name of account actually logged in to the client machine. Of course the IP number is the number of the host that will be sending RSH commands. Hope this helps. Jay Stewart Vice President Olympia Networking Services - "Olympia's Premier Internet Access" Phone (360) 753.3636 Fax (360) 357.6160 http://www.olywa.net/
Looking at the source for the looking-glass though it doesn't use the username option for rsh command. When useing the cisco command below don't you have to use the rsh username? ip rcmd remote-host www 206.183.224.12 nobody I changed the ip of the $ROUTER in lg.pl to "www\@ipaddress.of.router" instead of "ipaddress.of.router" which seems to work. I kept getting Permission Denied without it. T..S On Fri, 24 Oct 1997, Jay Stewart wrote:
I am a moron; I can't figure it out.
How do you make a cisco so that you can rsh into it (to use Mr. Kerns looking glass)?
ip rcmd rsh-enable ip rcmd remote-host name1 205.163.58.15 name2
-----
Name1 = Name you will use on rsh command line -l switch
Name2 = name of account actually logged in to the client machine.
Of course the IP number is the number of the host that will be sending RSH commands.
Hope this helps.
Jay Stewart Vice President Olympia Networking Services - "Olympia's Premier Internet Access" Phone (360) 753.3636 Fax (360) 357.6160 http://www.olywa.net/
Todd R. Stroup wrote:
Looking at the source for the looking-glass though it doesn't use the username option for rsh command. When useing the cisco command below don't you have to use the rsh username?
ip rcmd remote-host www 206.183.224.12 nobody
I changed the ip of the $ROUTER in lg.pl to "www\@ipaddress.of.router" instead of "ipaddress.of.router" which seems to work. I kept getting Permission Denied without it.
You need to make sure that in 'ip rcmd' that you have local-username defined to something that there is a 'username xxx' entry on the cisco for. In other words, if you have (sorry syntax is probably not correct): ip rcmd remote-host joebob lookingglass.yourcompany.com daemon enable you have to have a 'username joebob' entry on the cisco as well. local-username means "apply the permissions of local-username when this rsh matches" and remote-username is the userid of whatever your cgi-bin runs as.. if your web server is setuid "daemon" and cgi-bins are daemon, it will only work if you have 'daemon' as a remote-username in the ip rcmd command. HTH, -jamie -- jamie g.k. rishaw dal/efnet:gavroche __ IAGnet/CICNet/netILLINOIS Netops DID:216.902.5455 FAX:216.623.3566 \/ 800.637.4IAGx5455 "It's like im being tied to the hood of a yellow rental truck being packed in with fertilizer and fuel oil.. pushed over a cliff by a suicidal mickey mouse."
participants (3)
-
jamieļ¼ intuition.iagnet.net
-
Jay Stewart
-
Todd R. Stroup