opensc/src/openssh
aet 076a26bbac Rework the header structure
Currently fails to compile, unless you symlink
all the necessary headers to src/include/opensc
by yourself.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@459 c6295689-39f2-0310-b995-f0e70906c6a9
2002-04-05 13:48:00 +00:00
..
.cvsignore Add opensc-ssh, pam_pkcs15-test, bas64, hst-test, lottery, p15dump, 2001-12-22 22:20:28 +00:00
Makefile.am Add maintainer-clean patch by Andreas Jellinghaus <aj@dungeon.inka.de> 2002-04-02 09:38:06 +00:00
README *** empty log message *** 2002-03-13 10:48:07 +00:00
opensc-ssh.c Rework the header structure 2002-04-05 13:48:00 +00:00
openssh-3.0.2p1-patch.diff Rework the header structure 2002-04-05 13:48:00 +00:00

README

teps for your OpenSSH pleasure:

- Download, compile and install openssl (http://www.openssl.org)
- Download OpenSSH 3.0.2p1 (http://www.openssh.com)
- Apply 'openssh-3.0.2p1-patch.diff' from this directory
- Run autoconf and autoheader
- Run configure with the argument '--with-opensc'
- Compile and install

- Extract a public key from your SmartCard in OpenSSH format
    (e.g. with 'opensc-ssh -c <certificate ID> -k -o <file>')
- Transfer the public key to desired server
- Run OpenSSH with 'ssh -I <reader num>[:<certificate ID>] <host>'
    (e.g. '-I 0:45' uses first available reader and certificate with
     ID 45h, '-I 0' uses the first found certificate')

With luck you should be authenticated and ready to go. If it won't work,
try enabling debug information with the '-d' switch.

NOTE: PIN code is not asked by ssh when connecting. If you haven't 
authenticated for the private key when connecting with PIN code, 
verify the PIN with e.g. pkcs15-crypt tool. 

--
Markku Degerholm <mdegerho@cc.hut.fi>