README.md
· 646 B · Markdown
Ham
```bash
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/tkey-ssh-agent/sock" # See config.fish for those using Fish
ssh-add -L
git commit -m "test"
git push
```
> Your SSH key will change if you type in a different password for the TKey, make sure you use the same password.
___
If you get the error "`Could now show USS prompt: Pinentry: unexpected response: "S ERROR surses.isatty 83918950"`, after a reboot, then do the following:
```bash
sudo dnf install pinentry-gnome3
nano ~/.gnupg/gpg-agent.conf
```
Add add the line:
```
pinentry-program /usr/bin/pinentry-gnome3
```
Then run:
```bash
gpgconf --kill gpg-agent
gpgconf --launch gpg-agent
```
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/tkey-ssh-agent/sock" # See config.fish for those using Fish
ssh-add -L
git commit -m "test"
git push
Your SSH key will change if you type in a different password for the TKey, make sure you use the same password.
If you get the error "Could now show USS prompt: Pinentry: unexpected response: "S ERROR surses.isatty 83918950", after a reboot, then do the following:
sudo dnf install pinentry-gnome3
nano ~/.gnupg/gpg-agent.conf
Add add the line:
pinentry-program /usr/bin/pinentry-gnome3
Then run:
gpgconf --kill gpg-agent
gpgconf --launch gpg-agent
config.fish
· 83 B · Fish
Ham
# tkey
set --export SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/tkey-ssh-agent/sock"
# tkey end
| 1 | # tkey |
| 2 | set --export SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/tkey-ssh-agent/sock" |
| 3 | # tkey end |