mirror of https://github.com/docker/docs.git
generic: use ~/.ssh/id_rsa as default ssh key
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
afb9cb39e2
commit
fc49adbcdf
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue