Handle SSH URIs with connection parameters #11

Open
wants to merge 1 commit into
from

Projects

None yet

2 participants

@salva
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.

@karenetheridge
Member

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