Re: OpenSSH and X.509 Certificate Support

This is a discussion on Re: OpenSSH and X.509 Certificate Support within the OpenSSH Development forums, part of the Networking and Network Related category; sankalp_karpe wrote: > Hi Roumen, > > Thanks for your comments. > The issues reported by me were not X....


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008
Roumen Petrov
 
Posts: n/a
Default Re: OpenSSH and X.509 Certificate Support

sankalp_karpe wrote:
> Hi Roumen,
>
> Thanks for your comments.
> The issues reported by me were not X.509 specific. Sorry about that.
>
> So now I have SSH Server & Client, both patched with X.509 and I can
> successfully connect to the Server using X.509 Certificates.
>
> I have several Linux clients some of which are patched with x.509 patch.
>
> Is it possible for those linux machines (not patched with x.509) to
> log-in to the server with username/password since they do not support
> x.509 certificates (by doing some configuration changes on the Server)?
> I have tried to log-in from a ssh client (without X.509 patch) to a
> ssh server (with X.509 patch), but the server refuses connection with
> the following error on the console:
>
> "no hostkey alg"
>
> My goal, is to make the OpenSSH Server (with X.509 patch) compatible
> with all SSH Clients irrespective of whether the client is patched
> with X.509 or not.
> Would there be any workaround?
>
> Your help would be highly appreciated.
> Thanking you in anticipation.
>
> Thanks and Best Regards,
> Sankalp
>
> Roumen Petrov wrote:
>
>> sankalp_karpe wrote:
>> [SNIP]


You could list in sshd_config all supported key types:
$ grep ^HostKey /etc/ssh/sshd_config
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/SAVE/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key


Also you could check key-types supported by server:
$ ssh-keyscan localhost
# localhost SSH-2.0-OpenSSH_4.7
localhost x509v3-sign-rsa Subject:C=XX,...
# localhost SSH-2.0-OpenSSH_4.7
localhost x509v3-sign-dss Subject:C=XX,...
# localhost SSH-2.0-OpenSSH_4.7
localhost ssh-rsa AAAAB3Nza....
# localhost SSH-2.0-OpenSSH_4.7
no hostkey alg


Command ssh-keyscan (see man page) scan for protocol version 2 keys by
default.

Roumen
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0