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 for IPV6 #16

Closed
emorfaq opened this issue Nov 4, 2018 · 2 comments
Closed

Support for IPV6 #16

emorfaq opened this issue Nov 4, 2018 · 2 comments

Comments

@emorfaq
Copy link

emorfaq commented Nov 4, 2018

It appears ssh doesn't support ipv6 address scheme. Referring to issue raised on [https://stackoverflow.com/questions/53138493/ssh-ipv6-address-in-r-ssh-package]. Can I hope for added support of ipv6 in near future from developers?

@hrbrmstr
Copy link

hrbrmstr commented Nov 4, 2018

One idea for how to solve this (though it introduces a dependency on iptools to avoid re-creating the "is this a valid IPv6 address?" wheel) https://github.com/hrbrmstr/ssh/blob/master/R/connect.R#L48-L55 / https://github.com/hrbrmstr/ssh/blob/master/R/connect.R#L86-L95

@hrbrmstr
Copy link

hrbrmstr commented Nov 4, 2018

Similarly, a further enhancement here: https://github.com/hrbrmstr/ssh/blob/master/src/session.c#L128-L130 / https://github.com/hrbrmstr/ssh/blob/master/R/connect.R#L66-L71 (with associated function signature changes) adds support for supplying a local config file (which is IMO a better way to manage connection parameters). It's only been implemented for the main connect function as I didn't want to assume how folks want the ultimate idiom to work.

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

2 participants