注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package talk:Keychain

From Funtoo
(Redirected from Funtoo talk:Keychain)
Jump to navigation Jump to search
http://www.funtoo.org/Keychain#Linux
> The quick install docs assume you have a DSA key pair named id_dsa and id_dsa.pub
> in your ~/.ssh/ directory. Add the following to your ~/.bash_profile:

> eval `keychain --eval --agents ssh id_rsa`

I suspect a typo here, but JIC I'm missing something: if "you have a DSA key pair" then why should one have `id_rsa` in the command above?

TomRoche (talk) 04:56, 18 April 2014 (UTC)

Tom, you are correct. That is a typo.

--Daniel Robbins (talk) 13:13, 18 April 2014 (UTC)

It appears there is a missing graphic or code block between these paragraphs.

>Note that when keychain runs for the first time after your local system has booted, you will be prompted for a passphrase for your private key file if it is encrypted. But here's the nice thing about using keychain -- even if you are using an encrypted private key file, you will only need to enter your passphrase when your system first boots (or in the case of a server, when you first log in.) After that, ssh-agent is already running and has your decrypted private key cached in memory. So if you open a new shell, you will see something like this:

>This means that you can now ssh to your heart's content, without supplying a passphrase.

User:dragon788

wsl

wsl uses a non-login bash shell. as such you need to place the eval commands in $~/.bashrc instead of $~/.bash_profile