I just setup an account (abc) from an AIX to a Windows Tectia SFTP server.
The account has been setup on the Tectia SFTP server to default to a home directory of a mapped drive (X:).
When logon from AIX using 'sftp firstname.lastname@example.org', it asked for password, then successfully go into the X:.
However, after I generate and setup the private/public key between these two machine, and run the same command, it don't ask for password (as expected), but only bring me to C:. And I cannot change drive to X:.
Appreciate any idea/advise.
In Tectia Server 6.3.0 we have introduced a new feature called "Password Cache". The Password Cache feature is for users who use public-key authentication to log on to Tectia Server on Windows and want to access network resources, for example, shared folders.
I strongly recommend customers to use this feature as then end users can use SSH keys and still access network resources without additional configuration effort.
answered Aug 28 '12 at 18:24
Sami Marttinen ♦
You are probably running into this problem that causes virtual folders to not be accessible other than by password authentication if they are mapped to a domain resource (e.g. using mapped drives).
If the Tectia Server is running on Windows 2003 or newer, you can try the following steps (from the link above). Note that this requires that you have access to the domain controller.
With other authentication methods (such as public keys, GSSAPI, or certificates), access to virtual folders can be enabled only on Windows Server 2003 in a 2003 native domain when the following requirements are met:
Follow these instructions to set up the delegation in the Active Directory: