Vlad Krylov
Vlad Krylov

Reputation: 2734

How to hide password from processes list?

If I command 'svn co xxx --username xxx --password xxx' and 'ps ax | grep svn', I will see unprotected password. How I can avoid this?

Upvotes: 1

Views: 830

Answers (1)

arnep
arnep

Reputation: 6241

You could use an SSH key without a passphrase or use the expect command to pretend an interactive session where you do not need to put the password in the command line.

Upvotes: 1

Related Questions