Using Universal Autofill in Terminal
First off, brilliant feature, just a bit sad you kept it out of the betas where we could've helped improve it...
Anyway, I have a few logins that are the login credentials for accounts on remote computers. For example, the passwords used with sudo on servers, or used to "login __" to other users after ssh'ing to one user (of course, now using the SSH Agent in 1Password, easily one of my other favorite v8 features). These seem to not get "universally autofilled" into Terminal when I select them from Quick Access, instead their window with item details comes up. Can I at minimum get Quick Access to allow me to use these logins for Universal Autofill? Better yet, can I also make it so these logins appear in Quick Access when I am in Terminal?
Everywhere else, including in Safari where I usually just use the browser extension, Universal Autofill works brilliantly. Just not in Terminal.
1Password Version: 8.7.0
Extension Version: 2.3.3
OS Version: 12.3.1 (21E258)
Referrer: forum-search:terminal universal autofill
Comments
-
Hey @alexclst:
Thanks for bringing this up! Just to confirm, these credentials are a Login item, and not a different item type, correct? As it currently stands, Universal Autofill can only fill in Logins, so if you've saved these as Servers, or another item type, you won't be able to use Universal Autofill to fill them in. Let me know, and I can dig in further with you!
Jack
0 -
These are Logins. I'm using the macOS Terminal app and the Fish shell. Sometimes these logins are being done through SSH (like to sudo on a remote machine), so maybe that is part of the issue?
0 -
From what I can tell, 1Password will only autofill passwords on the terminal if there is an active, local
sudo
prompt, and otherwise it silently does nothing. This is surprising behavior that should be changed.0 -
Hi @alexclst:
As it currently stands, Universal Autofill will only offer to fill in items if
sudo
is in the context of your local machine. In other words, if you SSH to a remote host, and you're prompted for your user account password on that host bysudo
, Universal Autofill isn't capable of filling that just yet.I ran into this on a personal project myself not too long ago, so I absolutely know how handy it would be to use Universal Autofill for
sudo
over SSH, so I'll add your thoughts to an internal issue we have on this. Thanks for sharing!Jack
ref: dev/core/core#15286
1