Skip to content

Commit

Permalink
fix: ssh agent forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpuljak committed Apr 10, 2024
1 parent 1616320 commit 31929bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/daytona/config/ssh_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ func generateSshConfigEntry(profileId, workspaceId, projectName, knownHostsPath
tab+"User daytona\n"+
tab+"StrictHostKeyChecking no\n"+
tab+"UserKnownHostsFile %s\n"+
tab+"ProxyCommand %s ssh-proxy %s %s %s\n\n", projectHostname, knownHostsPath, daytonaPath, profileId, workspaceId, projectName)
tab+"ProxyCommand %s ssh-proxy %s %s %s\n"+
tab+"ForwardAgent yes\n\n", projectHostname, knownHostsPath, daytonaPath, profileId, workspaceId, projectName)

return config, nil
}
Expand Down

0 comments on commit 31929bf

Please sign in to comment.