Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Is using a password essential, or would an authorized key be acceptable? Commented Mar 23, 2016 at 14:27
  • Could be both, but, for security reasons, it needed a custom password. Commented Mar 23, 2016 at 14:27
  • 2
    if you are hard coding a password anywhere, the security goes out the window. Hence I believe it is your duty to convince peole who are hell bent on security to abandon using of passwords and handle authentication using authorized key pairs. Commented Mar 23, 2016 at 14:32
  • The thing, that I need to transfer many files to a remote server, but, I dnt like to that server contains my public_rsa_key, so, I need to run sometimes the script file, and inside it I need to passing the password like as argument or file way to evoid to type it any time that I will use it. Commented Mar 23, 2016 at 14:32
  • Why would it be a problem that the public key is stored on another system? It's not as if it can be misused. Commented Mar 23, 2016 at 14:37