Questions tagged [ssh-agent]
SSH-agent is an utility which offers a secure way of storing the passphrase of the private key used in SSH connections
166 questions
0
votes
0
answers
70
views
How to automatically unload ssh keys from ssh-agent after Windows logoff/reboot?
I surprisingly noticed that the Windows ssh-agent keeps the loaded ssh keys into the registry in HKEY_USERS\$SID\Software\OpenSSH\Agent\Keys\ (where $SID = (Get-ADUser -Identity $env:USERNAME).SID....
2
votes
0
answers
295
views
How to use WSL ssh-agent when connecting to remote server from Visual Studio Code
I want to be able to use my ssh-agent running inside WSL distribution when connecting to a remote server via VS Code.
Below is my setup:
Use keychain to run ssh-agent in the terminal and add my ...
2
votes
0
answers
99
views
KDE graphical apps do not respect keyring / ssh-agent added via keychain (keychain works in shell correctly)
I migrated to a new computer along with my SSH keys. I have installed keychain, set it up correctly to load the keys.
However, now graphical KDE apps ask for password (e.g. for Git) and do not respect ...
2
votes
0
answers
1k
views
How to use a Yubikey / FIDO2 device / ed25519-sk key with ssh-agent on MacOS (15.3+)
Please note: solutions involving either disabling or modifying the inbuilt ssh-agent are unlikely to work. I've seen numerous people suggest this is due to recent changes in MacOS (I'm on 15.3), but ...
2
votes
0
answers
308
views
keychain stopped working in WSL with Ubuntu 24.10 and fish shell
I have been using keychain in fish shell to add ssh key for git for a long time.
I recently upgraded to Ubuntu 24.10 and now it stopped working. Whenever I do a git command that require auth it will ...
1
vote
1
answer
671
views
How do I use the running ssh agent when calling wsl commands from cmd
I am trying to call rsync from cmd using "wsl rsync" however it always asks for my ssh key password. How can I use the running agent within wsl instead of needing to type my password every ...
2
votes
1
answer
352
views
Is ssh-keygen -s supposed to work with ssh-agent?
We're converting our ssh host keys to certificate-signed keys. I wanted to write a script that would use ssh-keyscan to grab all the public keys, then sign them all, and then use ansible to push the ...
1
vote
0
answers
141
views
Why does FileZilla start its own ssh-agent process?
Why does FileZilla start its own ssh-agent process? When I open my terminal, an ssh-agent gets created with socket location /var/folders/sm/4bt9kz951dg4s5kq1jwy57tc0000gn/T//ssh-nWola5Puaw6o/agent....
3
votes
1
answer
4k
views
ssh keys issue & how to mounts as readonly in devcontainer.json?
i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
10
votes
3
answers
41k
views
How to automate starting the ssh agent and adding my key(s) in WSL2 for Windows 11
OS: Windows 11 Version 10.0.22621 Build 22621
WSL version: 1.2.5.0 (WSL 2)
Linux distro: Ubuntu 22.04.2 LTS
I run WSL2 on Windows 11 in a Windows Terminal window, and I often connect to a remote ...
0
votes
1
answer
1k
views
List of ssh keys provided by ssh agent on a remote machine
Locally keys made available by ssh agent can be listed using ssh-add -L. When connected to a remote machine through ssh, is there a way to list keys made available through ssh agent from the local ...
4
votes
1
answer
15k
views
How to use ssh-agent as a system service on mac
I'd like to run ssh-agent as a system service, so I have one global ssh-agent running that is accessible from all shells and GUI programs. On Linux I followed these instructions to run ssh-agent as a ...
3
votes
2
answers
4k
views
Why does ssh-agent with [email protected] key produces agent refused operation
Client:
Arch based distro
OpenSSH package version: 9.3p1-2
SSH-Agent started with ssh-agent -c in fish shell
Key generated with: ssh-keygen -t ed25519-sk -f ~/.ssh/servers_ed25519_sk -O verify-...
5
votes
6
answers
3k
views
Windows11 ssh-agent does not remember passphrase
I am facing the issue that my running ssh-agent is not remembering my private key passphrase. It keeps prompting to enter it, each time I open an SSH session. I cannot figure out why and hope somebody ...
1
vote
0
answers
206
views
Why is ssh-agent not starting?
When I type the command $eval "$(ssh-agent -s)" to start ssh and be able to register my keys I get the following error:
1 [main] ssh-agent 437 dofork: child -1 - forked process 628 died ...