|
|
 |  |
Re: Mac OS X SSH event woes..From: ISP List Date: Wednesday, October 8, 2003
Time: 3:08:48 pm
>It's not stripping anything out of it... you may want to try it within
>Script Editor... Might get some better debugging info there.
Also, I tried to do it as a command-line event, like so:
do shell script "ssh -l admin my.box.com /Prov/radius.pl -debug -op=add
-username=<Login> -password=<Pass> -real-name='<FName> <LName>'
-rc='Service-Type = Framed-User' -rr='Service-Type =
Framed-User,Framed-Protocol = PPP,Framed-IP-Address =
255.255.255.254,Framed-IP-Netmask = 255.255.255.255'"
..and it does the exact same thing as the SSH event -- that is, the SSH
connection succeeds and the command line is executed just fine, but, the
fields with values with spaces (like -real-name='My Name') don't get passed
to my script properly as it is truncating values after the space (resulting
in the Real Name field containing only "My"). If I take that exact command
line string (filling in the <values> with dummy data) and paste it on to a
command line, it works fine.
-------------------------------------
Mike Bacher / mike@sparklogic.com
Use OptiGold ISP? Check out OptiSkin!
http://www.sparklogic.com/optiskin/
-------------------------------------
---------------------------------------------------
To subscribe, unsubscribe or to search list archive
please visit http://www.optigold.com/lists/isp.html
---------------------------------------------------
|

Return to Digital Point Solutions' Home Page |