X Tutup
Skip to content

Commit fc49adb

Browse files
committed
generic: use ~/.ssh/id_rsa as default ssh key
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
1 parent afb9cb3 commit fc49adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/generic/generic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func GetCreateFlags() []cli.Flag {
5858
cli.StringFlag{
5959
Name: "generic-ssh-key",
6060
Usage: "SSH private key path",
61-
Value: "",
61+
Value: filepath.Join(utils.GetHomeDir(), ".ssh", "id_rsa"),
6262
},
6363
cli.IntFlag{
6464
Name: "generic-ssh-port",

0 commit comments

Comments
 (0)
X Tutup