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

Support scanning with external ssh command #101

Merged
merged 1 commit into from Jun 22, 2016
Merged

Conversation

kotakanbe
Copy link
Member

@kotakanbe kotakanbe commented Jun 16, 2016

-ssh-external option

Vuls supports different types of SSH.

By Defaut, using a native Go implementation from crypto/ssh.
This is useful in situations where you may not have access to traditional UNIX tools.

To use external ssh command, specify this option.
This is useful If you want to use ProxyCommand or chiper algorithm of SSH that is not supported by native go implementation.

@kotakanbe kotakanbe changed the title [WIP]Support a mode of scanning with external ssh command [WIP]Support scanning with external ssh command Jun 16, 2016
@kotakanbe kotakanbe force-pushed the external_ssh_mode branch 7 times, most recently from 68162ed to 3cc852c Compare June 21, 2016 23:46
@kotakanbe kotakanbe merged commit af35303 into master Jun 22, 2016
This was referenced Jun 22, 2016
@kotakanbe kotakanbe changed the title [WIP]Support scanning with external ssh command Support scanning with external ssh command Jun 22, 2016
@kotakanbe kotakanbe deleted the external_ssh_mode branch June 29, 2016 02:09
@sbkg0002
Copy link

Can you provide an example of a .ssh/config with ProxyCommand?

I use a bastion host in my .ssh/config but I can't get it to work with vuls:

Host target
  Hostname 192.168.1.3
Host bastion
 ForwardAgent yes
Host * !bastion
  User vuls
  ProxyCommand ssh bastion -W %h:%p
  IdentityFile ~/.ssh/key.pem

If is use this as a config.toml, I get error 255 (Unable to connect via SSH)

[servers]
[servers.target]
host = "target"
port = "22"
user = "vuls"
keyPath = "~/.ssh/key.pem"

I use vuls -external-ssh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants