david-dick / firefox-marionette

This is a client module to automate the Mozilla Firefox browser via the Marionette protocol
https://metacpan.org/dist/Firefox-Marionette
Other
12 stars 3 forks source link

Question: how to specify identity file for ssh connection #17

Closed prozorecJP closed 2 years ago

prozorecJP commented 2 years ago

Hello.

I'm trying remote firefox via ssh and I realized that there isn't any way to specify ssh private key identity file. Do you have plan to implement it?

david-dick commented 2 years ago

Hmmm... the thought was the user would pre-load keys into an agent. Loading private keys should probably require being able to cope with a encrypted private key. What was your use case for authentication?

prozorecJP commented 2 years ago

Thank you for explanation. I didn't think anything special about authentication so I just let Firefox::Marionette do all of them which require remote ssh connection. But I notice that ssh-agent can be used to prior to ssh connection now.

david-dick commented 2 years ago

I've directly mentioned ssh-agent in the documentation. Thanks for the report.