Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bobveznat
Copy link

This does not implement certificate based authentication (described here
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD)
but instead makes it so that if the certificate is not needed for
authentication net-ssh doesn't cause the entire application to die.

The net-ssh test suite continues to pass. On my own machine I did tests
with certificates loaded and verified that although authentication could
not proceed to a host requiring a certificate it at least did not die.

I also verified that I can continue to use normal rsa and dsa keys to
ssh to hosts that do not require certificates even when the certificates
are loaded into my ssh-agent instance.

This is a potential solution to issue #124 and an alternative to the one
presented in pull request #134.

This does not implement certificate based authentication (described here
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD)
but instead makes it so that if the certificate is not needed for
authentication net-ssh doesn't cause the entire application to die.

The net-ssh test suite continues to pass. On my own machine I did tests
with certificates loaded and verified that although authentication could
not proceed to a host requiring a certificate it at least did not die.

I also verified that I can continue to use normal rsa and dsa keys to
ssh to hosts that do not require certificates even when the certificates
are loaded into my ssh-agent instance.

This is a potential solution to issue net-ssh#124 and an alternative to the one
presented in pull request net-ssh#134.
@delano
Copy link
Collaborator

delano commented Jan 23, 2014

Looks good, all tests pass. Thanks.

delano added a commit that referenced this pull request Jan 23, 2014
Handle ssh-rsa and ssh-dss certificate files
@delano delano merged commit f93a6b7 into net-ssh:master Jan 23, 2014
@bobveznat
Copy link
Author

@delano, thanks for accepting this pull request. Are there plans to tag a new release soon? Mitchell from Vagrant has agreed to do a new release of Vagrant once this patch is into a release of net-ssh.

@markpeek
Copy link

+1 for a new tagged release to get this into Vagrant

@delano
Copy link
Collaborator

delano commented Jan 31, 2014

I'll push a release this weekend.

@v6
Copy link

v6 commented Apr 13, 2016

// , Someone needs to update the notes for https://pypi.python.org/pypi/ssh-ca/0.3.2.

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.

4 participants