Skip to content

Comments

Handle SSH URIs with connection parameters#11

Open
salva wants to merge 1 commit intolibwww-perl:masterfrom
salva:master
Open

Handle SSH URIs with connection parameters#11
salva wants to merge 1 commit intolibwww-perl:masterfrom
salva:master

Conversation

@salva
Copy link

@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
Copy link
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants