How to start ssh-agent as systemd service? There are some suggestions in the net, but they are not complete.
Let’s say there are two keys A
and B
, both of which are valid for [email protected]
public key authentication. Since authorized_keys
is configured for different behaviour depending on the key, ~/.ssh/config
on the client uses something like
I have set up automatic (password less) ssh login to some servers using ssh-copy-id. ssh-agent
works only from the terminal where it was run. How do I get ssh-add
to work in all my terminals?
ssh-add
alone is not working:
I use ssh-add
to add my SSH keys to the SSH agent. By default, it adds them indefinitely. There’s a command-line option to specify a timeout, but is there a configuration file option which will specify the default timeout?