Timeline for Windows 10 Linux subsystem ssh-agent not persisting added identities
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 8, 2017 at 7:48 | vote | accept | Jignesh Gohel | ||
Aug 8, 2017 at 7:48 | comment | added | Jignesh Gohel | Thanks. You are right. I have added new comments in the gist showing that the issue is resolved. | |
Aug 8, 2017 at 7:37 | comment | added | Jakuje |
Your comments show that you are connecting to github.com and not the hosts you defined the option for and therefore it is not applied.
|
|
Aug 8, 2017 at 7:35 | comment | added | Jignesh Gohel |
I updated the SSH on my WLS however using your suggestion to use a config file and add AddKeysToAgent option to it is not proving to be helpful in the original problem I have i.e. after exiting the last session and logging-in again I have to re-add key using ssh-add. I have documented this in a gist gist.github.com/jiggneshhgohel/afe96f0d57bdbf8beba305a73905402d.
|
|
Aug 8, 2017 at 6:52 | comment | added | Jignesh Gohel | Thanks I will try to update it. BTW I also found a related SO Post unix.stackexchange.com/a/269132/146438 on that option. | |
Aug 8, 2017 at 6:51 | comment | added | Jakuje | Then you have old OpenSSH (it works with 7.2 and newer), so either update or go with the first option. | |
Aug 8, 2017 at 6:50 | comment | added | Jignesh Gohel |
same error Bad configuration option: addkeystoagent
|
|
Aug 8, 2017 at 6:48 | history | edited | Jakuje | CC BY-SA 3.0 |
deleted 4 characters in body
|
Aug 8, 2017 at 6:48 | comment | added | Jakuje |
Sorry. I meant AddKeysToAgent inestead.
|
|
Aug 8, 2017 at 6:47 | comment | added | Jignesh Gohel |
Thanks for the elaborate answer. Your suggestion of using option AddIdentityToAgent yes resulted in Bad configuration option: addidentitytoagent . I referred the manual at linux.die.net/man/5/ssh_config and there I could not find that option in supported options and hence I guess this error.
|
|
Aug 7, 2017 at 21:11 | history | answered | Jakuje | CC BY-SA 3.0 |