Hello,
I have installed SFPT agent. It only works as expected on the user environment cached with key.
I have followed below doc. I need to be able to use the 'g' prompt so I do not need to run the SFTP service as the user that installed the agent: any user can run the SFTP service.
- Log on the machine with the account you selected for the SA SFTP Agent Service.
- Run the following command from the C:\sasftpagent directory:
psftp -i private.ppk -l sftp -v log_collector_IP_address
where:l private.ppk is the file containing the private key
l log_collector_IP_address is the IP address of the Log Collector
The system displays a prompt and some choices.
- After the prompt, you can enter any of the following options:
l g: Global. If you enter 'g', the fingerprint is installed in the system environment, which is visible to all
users. Note that if you enter the global value, you do not need to run the SFTP service as the user that
installed the agent: any user can run the SFTP service.
l l: Local. If you enter 'l', the fingerprint is stored in the HKEY_LOCAL_USER registry hive, visible
only to the currently logged-in user (and Administrators).
Are you getting an error when selecting "g"? Or what is the problem?