mirror of
https://github.com/docker/docs.git
synced 2026-03-29 23:38:56 +07:00
generic: use ~/.ssh/id_rsa as default ssh key
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ func GetCreateFlags() []cli.Flag {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "generic-ssh-key",
|
Name: "generic-ssh-key",
|
||||||
Usage: "SSH private key path",
|
Usage: "SSH private key path",
|
||||||
Value: "",
|
Value: filepath.Join(utils.GetHomeDir(), ".ssh", "id_rsa"),
|
||||||
},
|
},
|
||||||
cli.IntFlag{
|
cli.IntFlag{
|
||||||
Name: "generic-ssh-port",
|
Name: "generic-ssh-port",
|
||||||
|
|||||||
Reference in New Issue
Block a user