Reflection for Secure IT supports the following variable values for specifying directory paths for user public key locations and SFTP file transfer directories.
String |
Evaluates to |
---|---|
%D |
The user’s User profile The user profile folder is configurable by the Windows system administrator. The default is: \Users\username . This equivalent to the Windows environment variable USERPROFILE. This directory is created if it doesn't exist. For example, if the server is running on Windows Server 2008 and the user name is "joe", %D\.ssh2 will typically be equivalent to: C:\Users\joe\.ssh2 On Windows Server 2003 it will typically be equivalent to: C:\Documents and Settings\joe\.ssh2 |
%H |
The user's Home folder The home folder is configurable by the Windows system administrator. When no home folder is configured (the default), the home folder is the same as the User profile. The default User profile is: \Users\username. . This is based on the Home folder value stored in the user's Windows account. The two Windows environment variables HOMEDRIVE and HOMEPATH are also based on this value. By default this is the same as the User profile, but the Windows system administrator can specify a different location. For Reflection Gateway users, %H is equivalent to %D. |
%u |
The user’s login name. On Windows systems, this is equivalent to the Windows environment variable USERNAME. For example, if the user name is "joe", ssh_users\%u is equivalent to: C:\ssh_users\joe NOTE:
|
%U |
The user's domain name and login in the format "domain.username". This is based on two Windows environment variables: USERDOMAIN and USERNAME. For example, if "joe" logs in from the "sky" domain (sky\joe), ssh_users\%U\ is equivalent to: C:\ssh_users\sky.joe NOTE:Do not use %U to specify a location in the Windows profile folder. The format for specifying user and domain in the Windows profile path is "user.domain", which is the reverse of the order specified by %U. |
Related Topics