How can i configure external SFTP monitor on LTM?
Please follow my question on the same topic - It should have most of the details you seek. Feel free to ask additional questions if needed!
Thanks for the quick update.
Went through the link and i have couple of queris;
1. How do we authenticate the user'sftpMonitor' which is mentioned in the sftp monitor script.
2. What are the commands added in the batch file 'sftpmonitor.input'.
3. Assume user 'sftpmonitor' has to be created in both LTM as well SFTP server?
The best source of info that helped me as to how to authenticate without a password is here:
The commands in the input file are only 'dir' and 'bye'. The grep in the script (for 'IB') is just pulling out one of the subdirectories/folders that show up in stdout when the 'dir' command is executed.
The user sftpMonitor does not need to be created on LTM, just the SFTP server. The public key is attached to that username in the servers' user profile (details in link on #1)
Thank you so much.
So you have created 'sftpMonitor' and '.ssh' folder undere home?
As per the document, public and private key has to be created under '/home/user/.ssh'.
Please correct me if i am wrong?
That is my understanding as well, but I had no control on the server configuration unfortunately; I forwarded the same link to the server teams and they got it working on their end.
Also just to clarify one thing, the user 'sftpMonitor' is not a hard requirement, it's just the username we used in our environment :)
I got it.
Did you create '/Home/sftpMonitor/.ssh' folder in LTM? And generate private + public key using the command ssh-keygen ?(Step 1 and 2 in the document)
You have mentioned in the prvious comment that 'user sftpMonitor does not need to be created on LTM'.
So did you manually created the folder '/Home/sftpMonitor/.ssh' to store private + pubklic key?