-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some questions #20
Comments
also, is it possible to save logs to a text file, to see if anyone is attacking the server? |
Password protected keys are not supported at the moment. sshclient:
server: 192.168.5.56
identity: "~/.ssh/id_rsa"
web:
listen_address: "127.0.0.1:8090" |
are you planning to add support in a future update? Also, is it possible to save logs to a text file? |
I'm not planning to support protected keys at the moment, but it should not be too difficult to add it. Would you like to contribute? Regarding logs, for my use cases I usually simply redirect console output to a log file, so no you cannot configure rospo to write to a log file directly. |
I can try to take a look if you can give advice on what files need to be edited |
Look at the sshc package here https://github.com/ferama/rospo/tree/main/pkg/sshc |
I switched to using Python sshtunnel which supports key pw, will close this. |
I tried sshtunnel but the performance is too bad, so I went back to this program. @ferama I have never used golang before did some research and got it working. The file that was changed was keys.go. Here are the changes, can you incorporate this feature in the next release? Add this to the imports
Change LoadIdentityFile and add the helper function
|
Here's some changes that allows for key passphrase caching Uses a new file cache.go
LoadIdentityFile
|
Thanks for your work. I can evaluate your edits and include them in next release. You should make a proper pull request with your commits to the rospo main branch. |
Hi @ferama , You will add the suggested patches provided by @Forum1877621 ? They aren't in the current repo. In addition, I suggest to add a simple XOR to the cached password (using a typdef master key). And instead of caching only the password key, you can cache the certificate too. Then you can remove the certificate from the disk after starting the tool and it will work with all in ram. I hope it helps. |
Hi, I was testing rospo and had some questions:
The text was updated successfully, but these errors were encountered: