I'm using file collection method to integrate DHCP server in test environment (on Windows server 2012), and getting below output, while caching the keys:
Configuration for sftpagent.conf:
dir0=C:\WINDOWS\System32\dhcp
dir0.filespec=DhcpSrvLog*.log
dir0.interval=60
dir0.compression=true
dir0.enabled=true
dir0.ftp=192.168.0.64,nic_sshd,publickey,//upload/microsoft_dhcp_2012/dhcp
sftp user is created on event source. Also at VLC level, owner and group changed to sftp and 775 permission also given.
Rahul
Are you sure the file is ending .conf? It should be called 'sftpagent.conf'
The error looks like it can't find the file.
Also
You config line is not right. It should be:
dir0.ftp=192.168.0.64,sftp,sftp,publickey,//upload/microsoft_dhcp_2012/dhcp
The nic_sshd use account was replaced with sftp
Dave