Search Again:

Mac OS X SSH event woes..

From: ISP List
Date: Tuesday, October 7, 2003
Time: 7:00:00 pm

I'm working with a client that is running on OS X and am attempting to set
up a SSH event that will fire off a command to add a user to RADIUS. Here
is the command that works fine from the command line on the box:

ssh -l admin my.box.com /Prov/radius.pl -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'

I have the SSH part working (using public/private keys and all that) but
the problem is, FileMaker seems to be stripping out the tick marks (')
which in turn make those values that contain spaces (e.g. real-name) to
truncate the data after the first space. I've tried several combinations
trying to make this work, including double quotes (""), escaping the quotes
(\" , \"" , \' , \'') and others to no avail.

Anyone have any pointers?

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



Messages In This Thread:



Return to Digital Point Solutions' Home Page