mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
chore: rename ssh-agent.sock
This commit is contained in:
@@ -233,8 +233,8 @@ object SshClients {
|
|||||||
// ssh-agent
|
// ssh-agent
|
||||||
if (host.authentication.type == AuthenticationType.SSHAgent) {
|
if (host.authentication.type == AuthenticationType.SSHAgent) {
|
||||||
if (SystemInfo.isMacOS) {
|
if (SystemInfo.isMacOS) {
|
||||||
val file = FileUtils.getFile(Application.getBaseDataDir(), "config", "ssh_auth_sock.sock")
|
val file = FileUtils.getFile(Application.getBaseDataDir(), "config", "ssh-agent.sock")
|
||||||
if (file.exists() && file.isFile) {
|
if (file.exists()) {
|
||||||
entry.setProperty(IDENTITY_AGENT, file.absolutePath)
|
entry.setProperty(IDENTITY_AGENT, file.absolutePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user