03-02-2010 08:47 AM
Has anyone else tried to set up their own custom tool in DCFM? I'm having an issue where I'm trying to add my SSH client as a dialog option, but when inputting the parameters, DCFM keeps stripping spaces out of the end of the Parameters input box. I need to run a command like:
ssh.exe /T /SSH2 ipaddress
and DCFM runs it like
ssh.exe /T /SSH2ipaddress <-- removing the space
I tried with doing the "Append Product ID" and selecting IP address. This results in the above behavior. If I put /T /SSH2 <IPAddress> in the Parameters box, it tries to connect with "ssh.exe /T /SSH2 <IPAddress>192.168.1.1", and of course fails.
How can I insert a single space character at the end of the Parameters input box and make it stick? I almost considered going into the DB to figure out if I could manually edit the field, but would rather do it another way, if possible.
03-03-2010 07:59 AM
im faced same problem with putty usage (putty.exe -ssh <IPAddress>)
Working solution for me was - In product menu parameter field: -ssh\ (backslash) and checked append product ID IP address
03-03-2010 08:22 AM
I WISH I had /T(space)/SSH(space)<IPAddress>, but it actually looks like /T(space)/SSH<IPAddress>, which fails.
Putting in just /SSH\ has the same error shown in my previous post. The /T(space) has no impact on the error message. Leaving /T in or taking it out makes no difference.
02-02-2012 06:48 AM
I got around this by calling a batch file instead of putty.exe. Create a batch file with the contents:
c:\temp\putty.exe -ssh %1
Call this instead of putty.exe and append the ip address. Has worked for me. Not sure if there is another solution but was having this problem and came across this post.