Skip to content

Executing bulk of short commands in queue #1927

Answered by terrafrost
DanielSpravtsev asked this question in Q&A
Discussion options

You must be logged in to vote

ssh-agent wouldn't really help that much. All that really does is give you a way to create a signature with a private key and retrieve the public key corresponding to a private key without being able to actually read that private key. The signatures and key exchange and all that jazz still needs to be done.

Unless you could make it so that the server doesn't randomly generate numbers there's not a whole lot you can do to cache logins. And if you did make it so that the server served up the same random bytes every time then you'd be introducing security vulnerabilities.

I think the best option, in your situation, is going to be to just make it so phpseclib is always running. Do something l…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DanielSpravtsev
Comment options

Answer selected by DanielSpravtsev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants