Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mole fails its execution if ssh configuration file is not present #75

Closed
davrodpin opened this issue Jun 25, 2019 · 0 comments · Fixed by #94
Closed

Mole fails its execution if ssh configuration file is not present #75

davrodpin opened this issue Jun 25, 2019 · 0 comments · Fixed by #94

Comments

@davrodpin
Copy link
Owner

Affected Version

0.4.0

Current Behavior

Mole is failing with valid arguments given

$ mole -insecure -local :21112 -local :21113 -remote 192.168.33.11:80 -remote 192.168.33.11:8080 -server mole@127.0.0.1:22122 -key test-env/ssh-server/keys/key
ERRO[0000] error processing server options: error accessing 127.0.0.1: open /Users/mole/.ssh/config: no such file or directory

None of the arguments given depend on the ssh config file, so there is no need for the file to be required.

Steps to Reproduce

  1. Install version 0.4.0
  2. Execute the following command:
$ ls /Users/mole/.ssh/config
ls: /Users/mole/.ssh/config: No such file or directory
$ mole -version
mole 0.4.0
$ mole -insecure -local :21112 -local :21113 -remote 192.168.33.11:80 -remote 192.168.33.11:8080 -server mole@127.0.0.1:22122 -key test-env/ssh-server/keys/key
ERRO[0000] error processing server options: error accessing 127.0.0.1: open /Users/mole/.ssh/config: no such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant