Поддержание работы ssh-agent после закрытия консоли

676
Darwin

Я использую cmder (ConEmu) в качестве терминала. Моя оболочка по умолчанию - zsh. Я пробовал плагин ssh-agent для zsh, пробовал связку ключей и пробовал запускать ssh-agent вручную. Независимо от того, что я делаю, процесс ssh-agent завершается, когда я закрываю окно консоли.

Я не уверен, является ли это ожидаемым поведением или нет, но я хочу, чтобы он продолжал работать, как только он будет запущен. Что может быть не так?

1
Check out http://serverfault.com/a/593042/23334 Unfundednut 7 лет назад 0
@MrStatic It says typing "ssh-agent" will start a process that keeps running after I close the shell. This is true, insofar that if I have multiple tabs with shells open in the same window, closing the one that started the process doesn't end the process. But if I close the whole console window, the process is killed. Darwin 7 лет назад 0
What version of ConEmu you are using? Have you read ConEmu's WhatsNew? Maximus 7 лет назад 0
@Maximus Wow. I swear nothing came up when googling this issue. Darwin 7 лет назад 0

1 ответ на вопрос

1
Dave Turvey

I guess you have already sorted this from the comments but the solution to this for future visitors is to disable "kill ssh-agent with conemu" in settings->features.

this seems to be enabled on a new install on conemu.