• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

lib/03-Oct-2014-2617

libroaming_off/03-Oct-2014-136

libroaming_on/03-Oct-2014-136

scard/03-Oct-2014-186103

scp/03-Oct-2014-168

sftp/03-Oct-2014-2211

sftp-server/03-Oct-2014-168

ssh/03-Oct-2014-2414

ssh-add/03-Oct-2014-1910

ssh-agent/03-Oct-2014-2011

ssh-keygen/03-Oct-2014-2010

ssh-keyscan/03-Oct-2014-2010

ssh-keysign/03-Oct-2014-1910

sshd/03-Oct-2014-3526

LICENCED15-Jan-201110.9 KiB229201

MakefileD04-Oct-2009462 1610

Makefile.incD28-Mar-20141.3 KiB4933

OVERVIEWD20-Sep-20066.6 KiB169124

PROTOCOLD22-Mar-20099.3 KiB255190

PROTOCOL.agentD16-Dec-200816.4 KiB517369

READMED16-Dec-2008928 2922

README.smartcardD05-Feb-20051.7 KiB7452

addrmatch.cD04-Oct-20099.1 KiB422300

atomicio.cD16-Dec-20083.5 KiB13185

atomicio.hD16-Dec-20081.9 KiB467

auth-bsdauth.cD02-Mar-20083.5 KiB13489

auth-chall.cD20-Sep-20062.7 KiB8652

auth-options.cD22-Mar-20099.1 KiB374321

auth-options.hD16-Dec-20081.2 KiB3917

auth-passwd.cD02-Mar-20085.3 KiB175109

auth-rh-rsa.cD15-Jan-20113.1 KiB10360

auth-rhosts.cD16-Dec-20089 KiB324217

auth-rsa.cD16-Dec-20088.4 KiB321182

auth.cD31-Oct-201313.5 KiB525378

auth.hD28-Mar-20145.1 KiB15988

auth1.cD04-Oct-20098.4 KiB361244

auth2-chall.cD16-Dec-20088.1 KiB318243

auth2-hostbased.cD15-Jan-20115.7 KiB196146

auth2-kbdint.cD20-Sep-20062.1 KiB6530

auth2-none.cD16-Dec-20082 KiB6329

auth2-passwd.cD16-Dec-20082.4 KiB7842

auth2-pubkey.cD16-Dec-20087.3 KiB273205

auth2.cD28-Mar-20148.5 KiB335245

authfd.cD04-Oct-200916.5 KiB665474

authfd.hD04-Oct-20093.1 KiB9557

authfile.cD31-Oct-201318.1 KiB675493

authfile.hD02-Jun-20061,021 2710

bufaux.cD16-Dec-20086.2 KiB267161

bufbn.cD16-Dec-20086 KiB225149

buffer.cD20-Sep-20065.5 KiB251169

buffer.hD16-Dec-20082.7 KiB8752

canohost.cD04-Oct-20099.7 KiB382255

canohost.hD04-Oct-2009928 2811

channels.cD21-Sep-201088.8 KiB3,4052,663

channels.hD04-Oct-200910.2 KiB281182

cipher-3des1.cD31-Oct-20134.8 KiB168110

cipher-bf1.cD20-Sep-20062.5 KiB8542

cipher-ctr.cD31-Oct-20133.5 KiB14197

cipher.cD21-Sep-201010.9 KiB425324

cipher.hD22-Mar-20093.8 KiB9446

cleanup.cD20-Sep-20061,012 319

clientloop.cD04-Oct-200953.6 KiB2,0421,430

clientloop.hD16-Dec-20083.2 KiB7424

compat.cD16-Dec-20086.7 KiB238198

compat.hD16-Dec-20082.8 KiB7341

compress.cD20-Sep-20065 KiB16597

compress.hD19-Apr-2006885 268

crc32.cD02-Jun-20064.9 KiB10777

crc32.hD19-Apr-20061.4 KiB314

deattack.cD16-Dec-20084 KiB162101

deattack.hD20-Sep-2006917 327

dh.cD04-Oct-20099.1 KiB346258

dh.hD28-Mar-20142.4 KiB7329

dispatch.cD31-Oct-20133 KiB10973

dispatch.hD02-Jun-20061.7 KiB3911

dns.cD31-Oct-20137.9 KiB308208

dns.hD20-Sep-20061.9 KiB5319

fatal.cD20-Sep-20061.6 KiB4412

groupaccess.cD16-Dec-20083.2 KiB11966

groupaccess.hD16-Dec-20081.5 KiB367

hostfile.cD21-Sep-20109.4 KiB352215

hostfile.hD19-Apr-20061.1 KiB3415

kex.cD31-Oct-201314 KiB555434

kex.hD04-Oct-20094 KiB162117

kexdh.cD20-Sep-20062.8 KiB8750

kexdhc.cD08-Nov-20064.7 KiB157109

kexdhs.cD04-Oct-20094.6 KiB158105

kexgex.cD20-Sep-20063.1 KiB9760

kexgexc.cD08-Nov-20065.8 KiB203141

kexgexs.cD04-Oct-20096 KiB202138

key.cD13-Mar-201423.2 KiB1,005819

key.hD16-Dec-20082.9 KiB8952

log.cD16-Dec-20088.1 KiB361272

log.hD31-Oct-20132.4 KiB7146

mac.cD16-Dec-20084.9 KiB188143

mac.hD16-Jun-20071.5 KiB315

match.cD16-Dec-20087.2 KiB277143

match.hD16-Dec-20081 KiB2810

md-sha256.cD16-Dec-20082 KiB7444

misc.cD04-Oct-200917 KiB834630

misc.hD31-Oct-20133.1 KiB9762

moduli.cD28-Mar-201416.5 KiB650352

monitor.cD28-Mar-201437.2 KiB1,5441,182

monitor.hD28-Mar-20143.1 KiB8346

monitor_fdpass.cD04-Oct-20093.6 KiB13493

monitor_fdpass.hD13-Sep-20071.5 KiB355

monitor_mm.cD04-Oct-20098.4 KiB345232

monitor_mm.hD16-Dec-20082.2 KiB6325

monitor_wrap.cD28-Mar-201422.4 KiB947695

monitor_wrap.hD28-Mar-20143.4 KiB9042

msg.cD20-Sep-20062.6 KiB8854

msg.hD19-Apr-20061.5 KiB325

mux.cD04-Oct-200918.5 KiB717539

myproposal.hD22-Mar-20092.3 KiB5827

nchan.cD16-Dec-200812.5 KiB517426

nchan.msD05-Feb-20053.9 KiB10074

nchan2.msD16-Dec-20083.4 KiB8964

packet.cD21-Sep-201050.2 KiB1,9431,407

packet.hD31-Oct-20134.1 KiB12286

pathnames.hD15-Jan-20115.2 KiB14740

progressmeter.cD31-Oct-20137.5 KiB307218

progressmeter.hD19-Apr-20061.4 KiB282

readconf.cD28-Mar-201436.9 KiB1,2901,012

readconf.hD28-Mar-20145.4 KiB14897

readpass.cD27-Dec-20084.9 KiB188133

roaming.hD04-Oct-20091.4 KiB3917

roaming_common.cD31-Oct-20134.6 KiB204156

roaming_dummy.cD31-Oct-20131.6 KiB6633

rsa.cD08-Nov-20064.6 KiB14967

rsa.hD19-Apr-2006866 278

scard.cD08-Nov-200612.8 KiB572451

scard.hD20-Sep-20061.6 KiB4010

scp.1D02-Oct-20094.6 KiB231230

scp.cD31-Oct-201328.5 KiB1,2561,019

servconf.cD28-Mar-201445.7 KiB1,5411,321

servconf.hD28-Mar-20146 KiB153105

serverloop.cD04-Oct-200933.5 KiB1,216854

serverloop.hD19-Apr-20061,016 285

session.cD04-Oct-200954.4 KiB2,2651,674

session.hD16-Dec-20082.5 KiB8447

sftp-client.cD31-Oct-201336.4 KiB1,5631,233

sftp-client.hD04-Oct-20093.9 KiB13143

sftp-common.cD20-Sep-20065.9 KiB223170

sftp-common.hD16-Dec-20082 KiB5218

sftp-glob.cD08-Oct-20102.7 KiB12681

sftp-server-main.cD22-Mar-20091.4 KiB5025

sftp-server.8D04-Oct-20093.3 KiB119118

sftp-server.cD04-Oct-200930.7 KiB1,4421,233

sftp.1D04-Oct-200912 KiB527526

sftp.cD08-Oct-201041.6 KiB1,8151,494

sftp.hD04-Oct-20093.4 KiB10355

ssh-add.1D16-Dec-20085.9 KiB188187

ssh-add.cD04-Oct-200910.4 KiB428334

ssh-agent.1D04-Oct-20096.9 KiB209208

ssh-agent.cD31-Oct-201330.1 KiB1,2521,047

ssh-dss.cD08-Nov-20065 KiB183132

ssh-keygen.1D15-Jan-201115.1 KiB493492

ssh-keygen.cD12-Mar-201438.8 KiB1,5731,368

ssh-keyscan.1D22-Mar-20094 KiB169168

ssh-keyscan.cD22-Mar-200917.4 KiB834702

ssh-keysign.8D16-Dec-20082.6 KiB8382

ssh-keysign.cD13-Mar-20145.9 KiB245168

ssh-rsa.cD20-Sep-20066.9 KiB261210

ssh.1D15-Jan-201141.2 KiB1,5011,500

ssh.cD31-Oct-201335.2 KiB1,271932

ssh.hD16-Dec-20082.9 KiB10219

ssh1.hD19-Apr-20063.9 KiB8752

ssh2.hD28-Mar-20145.4 KiB16372

ssh_configD24-Nov-20092.7 KiB9385

ssh_config.5D15-Jan-201131.9 KiB1,1421,141

sshconnect.cD04-Oct-200932.4 KiB1,178891

sshconnect.hD04-Oct-20092.5 KiB7233

sshconnect1.cD12-Mar-201421.4 KiB746490

sshconnect2.cD28-Mar-201433.3 KiB1,2891,036

sshd.8D15-Jan-201127.9 KiB898897

sshd.cD13-Mar-201454.3 KiB2,0571,398

sshd_configD15-Feb-20132.8 KiB10486

sshd_config.5D04-Oct-200928.5 KiB1,0351,034

sshlogin.cD31-Oct-20136.3 KiB208122

sshlogin.hD16-Dec-2008794 204

sshpty.cD13-Sep-20074.7 KiB187128

sshpty.hD16-Dec-20081,011 289

sshtty.cD16-Dec-20082.9 KiB9248

ttymodes.cD16-Dec-200810 KiB463334

ttymodes.hD19-Apr-20065.2 KiB17499

uidswap.cD20-Sep-20064.2 KiB13685

uidswap.hD20-Sep-2006716 194

umac.cD16-Dec-200845.3 KiB1,276754

umac.hD16-Jun-20074.3 KiB12438

uuencode.cD22-Mar-20092.9 KiB9347

uuencode.hD20-Sep-20061.5 KiB303

version.hD28-Mar-2014531 153

xmalloc.cD20-Sep-20062.3 KiB10979

xmalloc.hD31-Oct-20131.2 KiB308

README

1This release of OpenSSH is for MirOS BSD systems only.
2
3Please read
4	http://www.openssh.com/portable.html
5if you want to install OpenSSH on other operating systems.
6
7To extract and install this release on your OpenBSD system use:
8
9      # cd /usr/src/usr.bin
10      # tar xvfz .../openssh-x.y.tgz
11      # cd ssh
12      # make obj
13      # make cleandir
14      # make depend
15      # make
16      # make install
17      # cp ssh_config sshd_config /etc/ssh
18
19OpenSSH is a derivative of the original and free ssh 1.2.12 release
20by Tatu Ylonen.  Aaron Campbell, Bob Beck, Markus Friedl, Niels
21Provos, Theo de Raadt and Dug Song removed many bugs, re-added newer
22features and created OpenSSH.  Markus Friedl contributed the support
23for SSH protocol versions 1.5 and 2.0.
24
25See http://www.openssh.com/ for more information.
26
27$MirOS: src/usr.bin/ssh/README,v 1.4 2008/12/16 20:55:18 tg Exp $
28$OpenBSD: README,v 1.7 2006/04/01 05:37:46 djm Exp $
29

README.smartcard

1How to use smartcards with OpenSSH?
2
3OpenSSH contains experimental support for authentication using
4Cyberflex smartcards and TODOS card readers. To enable this you
5need to:
6
7(1) enable SMARTCARD support in OpenSSH:
8
9	$ vi /usr/src/usr.bin/ssh/Makefile.inc
10	and uncomment
11		CFLAGS+=	-DSMARTCARD
12		LDADD+=	-lsectok
13
14(2) If you have used a previous version of ssh with your card, you
15    must remove the old applet and keys.
16
17	$ sectok
18	sectok> login -d
19	sectok> junload Ssh.bin
20	sectok> delete 0012
21	sectok> delete sh
22	sectok> quit
23
24(3) load the Java Cardlet to the Cyberflex card and set card passphrase:
25
26	$ sectok
27	sectok> login -d
28	sectok> jload /usr/libdata/ssh/Ssh.bin
29	sectok> setpass
30	Enter new AUT0 passphrase:
31	Re-enter passphrase:
32	sectok> quit
33
34	Do not forget the passphrase.  There is no way to
35	recover if you do.
36
37	IMPORTANT WARNING: If you attempt to login with the
38	wrong passphrase three times in a row, you will
39	destroy your card.
40
41(4) load a RSA key to the card:
42
43	$ ssh-keygen -f /path/to/rsakey -U 1
44	(where 1 is the reader number, you can also try 0)
45
46	In spite of the name, this does not generate a key.
47	It just loads an already existing key on to the card.
48
49(5) tell the ssh client to use the card reader:
50
51	$ ssh -I 1 otherhost
52
53(6) or tell the agent (don't forget to restart) to use the smartcard:
54
55	$ ssh-add -s 1
56
57(7) Optional: If you don't want to use a card passphrase, change the
58    acl on the private key file:
59
60	$ sectok
61	sectok> login -d
62	sectok> acl 0012 world: w
63	 world: w
64	 AUT0: w inval
65	sectok> quit
66
67	If you do this, anyone who has access to your card
68	can assume your identity.  This is not recommended.
69
70-markus,
71Tue Jul 17 23:54:51 CEST 2001
72
73$OpenBSD: README.smartcard,v 1.9 2003/11/21 11:57:02 djm Exp $
74