9/26/2011 7:04:22 AM
 DeLoVaN Posts: 8
|
Hi,
I'm trying to configure WinSCP via Session Tools since I don't want to create 2 sessions for a computer (SSH + SCP). For now, it doesnt work since I guess that the ^$PASSWORD$ variable is not replaced by its value.
Check out this example (sorry I can't upload pictures) in RDM 6.5.0.0 (Entreprise Trial) :
File test.cmd : ---------------- echo "Arg 1" %1 echo "Arg 2" %2 pause
Session Script tool : ----------------------- Command line, Run : " "D:\test.cmd" $PASSWORD$ $HOST$ "
Result : --------- D:\>echo "Arg 1" $PASSWORD$ "Arg 1" $PASSWORD$
D:\>echo "Arg 2" xdir-lutece03-r7 "Arg 2" xdir-lutece03-r7
D:\>pause
Is it a known issue ?
|
|
0
• permalink
|
9/26/2011 7:18:57 AM
 David Hervieux Administrator Posts: 4241
|
For security reason with don't allow (except with the command line session) to extract the password. We have a small workaround for that. You can use the custom field in the Information tab page and set the password. The variable would be $CUSTOM_FIELD1$
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/26/2011 7:30:28 AM
 DeLoVaN Posts: 8
|
Thank you for your answer. I thought of using this workaround but I wanted to know if this behaviour is wanted.
So, we can't at all use the $PASSWORD$ variable in Session Script Tools ?
I'm failing to see the "security reason" if I want to use the password in command line and I am forced to used it clearly written in a custom field.
|
|
0
• permalink
|
9/26/2011 7:34:19 AM
 David Hervieux Administrator Posts: 4241
|
Hi, There is a small checkbox to hide the password in the custom field. I could add an option to allow the password in the variable. The would be disabled by default.
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/26/2011 7:44:31 AM
 DeLoVaN Posts: 8
|
David Hervieux wrote:
I could add an option to allow the password in the variable. The would be disabled by default. It would be delightful .
I come from mRemoteNG and this is the only feature I miss. I'm switching to RDM to use the client/server feature in my whole company.
|
|
0
• permalink
|
9/27/2011 12:42:42 PM
 David Hervieux Administrator Posts: 4241
|
Hi, Could you try this version?
http://remotedesktopmanager.com/download/Setup.RemoteDesktopManager.6.5.1.0.exe
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/28/2011 2:51:53 AM
 DeLoVaN Posts: 8
|
Thank you for your quick update !!
I don't see the option to allow the password variable. Where is it located ?
|
|
0
• permalink
|
9/28/2011 4:58:56 AM
 David Hervieux Administrator Posts: 4241
|
Hi, It's in the session properties and in the Advanced tap page.
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|
9/28/2011 5:18:22 AM
 DeLoVaN Posts: 8
|
Hi,
Thanks, it works like a charm ! But it is not available in batch processing, can you add it too ? edited by DeLoVaN on 9/28/2011
|
|
0
• permalink
|
9/28/2011 9:56:46 AM
 David Hervieux Administrator Posts: 4241
|
Good idea! I will add this for the next update
-- David Hervieux Devolutions inc.

|
|
0
• permalink
|