Skip to content
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

SSH agent not working when screen is locked #462

Open
fuomag9 opened this issue Mar 28, 2023 · 3 comments
Open

SSH agent not working when screen is locked #462

fuomag9 opened this issue Mar 28, 2023 · 3 comments

Comments

@fuomag9
Copy link

fuomag9 commented Mar 28, 2023

After investigating what was causing #321 for me, I managed to replicate it in my case:

I'm using another device to access a third host using the secretive machine. This works, but only if the desktop is unlocked. As soon as the desktop is locked via the "Lock Screen" button AND you start a new SSH session (if you use one opened before the screen is locked it will still work) secretive will stop working for authentication with:

sign_and_send_pubkey: signing failed for ECDSA "ecdsa-sha2-nistp256" from agent: agent refused operation

I believe this is a different than #321 as there could be multiple causes for that to happened, so I opened this one

@luckman212
Copy link

@fuomag9 Did you ever figure this one out?

@fuomag9
Copy link
Author

fuomag9 commented Oct 29, 2023

@fuomag9 Did you ever figure this one out?

Nope :(

@v57
Copy link

v57 commented Jan 8, 2024

As I understand it works as intended. T2 chip is locked while your account is locked. You can't use your key from another account with su yourname even if it's logged on (while it's logged off, agent not starts). I don't think that apple will allow any workaround as this would be a security issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants