Skip to content

Commit 2e2f028

Browse files
committed
Merge branch 'bb/ssh-key-files' of git-gui into bb/git-gui-ssh-key-files
* 'bb/ssh-key-files' of git-gui: git-gui: search for all current SSH key types
2 parents 7e31236 + 6a47fa0 commit 2e2f028

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

git-gui/lib/sshkey.tcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
# Copyright (C) 2006, 2007 Shawn Pearce
33

44
proc find_ssh_key {} {
5-
foreach name {~/.ssh/id_dsa.pub ~/.ssh/id_rsa.pub ~/.ssh/identity.pub} {
5+
foreach name {
6+
~/.ssh/id_dsa.pub ~/.ssh/id_ecdsa.pub ~/.ssh/id_ed25519.pub
7+
~/.ssh/id_rsa.pub ~/.ssh/identity.pub
8+
} {
69
if {[file exists $name]} {
710
set fh [open $name r]
811
set cont [read $fh]

0 commit comments

Comments
 (0)