Forum Discussion

    • b_kodan_313047's avatar
      b_kodan_313047
      Icon for Nimbostratus rankNimbostratus

      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?

       

    • jpeterson6_1656's avatar
      jpeterson6_1656
      Icon for Nimbostratus rankNimbostratus
      1. The best source of info that helped me as to how to authenticate without a password is here: http://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line

         

      2. 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.

         

      3. 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)

         

    • b_kodan_313047's avatar
      b_kodan_313047
      Icon for Nimbostratus rankNimbostratus

      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?