AnsweredAssumed Answered

Take password from user to scp files remotely

Question asked by patve03 Employee on May 3, 2018
Latest reply on May 4, 2018 by Carsten_Schmitz



I have written scp command in the process tab of a UNIX job and it keep on waiting for the user password to proceed further. So I would like to know is there any way that I could let the user enter their password on the go. This can be achieved using shell script as it takes the password whenever it required and not sure if we can do with AWA or not. Please let me know any ideas and I don't want to use "sshpass" or "spawn" to pass passwords to the command due to security reasons.


Note: We are not using file transfer object to transfer files between systems as it is taking way longer time than normal scp so we opted to go scp.