Handle SSH URIs with connection parameters #11

wants to merge 1 commit into


None yet

2 participants

salva commented Jan 23, 2013

SSH URIs as described on the RFC draft http://tools.ietf.org/html/draft-ietf-secsh-scp-sftp-ssh-uri-04 admit a set of c-param components that can be used to pass additional information about the connection (i.e., the key to be used).

This patch extends URI to support it.

URIs of class URI::ssh now have a c_params method accepting/returning an array with the c-param components.


Some tests for good and bad syntax would be helpful.

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