Open
Description
Greetings,
I am trying to run a Choctaw Hog scan of one of my repositories using the Docker image in Windows 10 Powershell.
- I have created the ssh key
- I have placed the id_rsa and id_rsa.pub files in my C:\users[username].ssh\github_choctaw_hog folder
- I have created the ssh key in Github
- I save my ssh key password to environmental variable $env:ssh_key
- I run the following command:
docker run -it --rm wetfeet2000/choctaw_hog:1.0.10 choctaw_hog --sshkeypath C:\users\[user]\.ssh\github_choctaw_hog_rsa --sshkeyphrase $env:ssh_pass [email protected]:[org]/[repo].git
which results in the following error:
error: Found argument '[email protected]:[org]/[repo].git' which wasn't expected, or isn't valid in this context
USAGE:
===>>> choctaw_hog <GITPATH> --sshkeypath <SSHKEYPATH> --sshkeyphrase <SSHKEYPHRASE> <<<===
- I then run the following command, moving the github url:
docker run -it --rm wetfeet2000/choctaw_hog:1.0.10 choctaw_hog [email protected]:[org]/[repo].git --sshkeypath C:\users\[user]\.ssh\github_choctaw_hog_rsa --sshkeyphrase $env:ssh_pass
which results in the following error:
error: Found argument '[email protected]:[org]/[repo].git' which wasn't expected, or isn't valid in this context
USAGE:
===>>> choctaw_hog [FLAGS] [OPTIONS] <GITPATH> <<<===
Notice the usage changes depending on where I put the url. Is there something wrong in the docker image, or is this an issue on my part?
Metadata
Assignees
Labels
No labels