php ssh password on server -


Our PHP server is using phpseclib for ssh in our cluster.

Now, enter the password for the user each time for the cluster.

  $ ssh = new Net_SSH2 ('www.domain.tld'); If (! $ Ssh-> Login ('Username', 'Password')) {exit ('Login failed'); }  

Is there a way to ask the user only once the password when login? Then do we in any way store passwords, or open SSI connections?

We do not want the user to enter his password all the time.

Which would be best / best practice?

Thanks


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -