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

IPv6 in SSHByPassword #56

Open
oleksii-m-baranov opened this issue Oct 5, 2016 · 3 comments
Open

IPv6 in SSHByPassword #56

oleksii-m-baranov opened this issue Oct 5, 2016 · 3 comments

Comments

@oleksii-m-baranov
Copy link

oleksii-m-baranov commented Oct 5, 2016

Hi, Jcabi team!
Are you going to support IPv6-addresses in SSHByPassword because now we can only use IPv4-addresses?

@dmarkov
Copy link

dmarkov commented Oct 10, 2016

@yegor256 please take a look at it and dispatch (see par.21)

@yegor256
Copy link
Member

@re1ax can you give an example of code you would like to see? I mean, how would you like to use SSHByPassword. We'll make it possible.

@anderssv
Copy link

anderssv commented Jan 18, 2017

This fails right now (when ip is ipv6):

new Shell.Safe(new SSHByPassword(ip, 22, auth.username, auth.password));

The stack fails at org.apache.commons.lang3.Validate.matchesPattern(Validate.java:875) with a message of "Invalid IP address of the server".

There might be deeper issues, but it seems strange that it should fail at pattern validation.

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

No branches or pull requests

4 participants