summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
AgeCommit message (Collapse)Author
2010-05-14check that the certificate matches the corresponding private key beforeDamien Miller
grafting it on
2010-05-11don't accept certificates marked as "cert-authority" here; ok markus@Damien Miller
2010-05-07tweak previous;Jason McIntyre
2010-05-07add some optional indirection to matching of principal names listedDamien Miller
in certificates. Currently, a certificate must include the a user's name to be accepted for authentication. This change adds the ability to specify a list of certificate principal names that are acceptable. When authenticating using a CA trusted through ~/.ssh/authorized_keys, this adds a new principals="name1[,name2,...]" key option. For CAs listed through sshd_config's TrustedCAKeys option, a new config option "AuthorizedPrincipalsFile" specifies a per-user file containing the list of acceptable names. If either option is absent, the current behaviour of requiring the username to appear in principals continues to apply. These options are useful for role accounts, disjoint account namespaces and "user@realm"-style naming policies in certificates. feedback and ok markus@
2010-05-05restore mput and mget which got lost in the tab-completion changes.Darren Tucker
found by Kenneth Whitaker, ok djm@
2010-05-01typo; jmeltzer@Damien Miller
2010-04-26bz#1502: authctxt.success is declared as an int, but passed byDamien Miller
reference to function that accepts sig_atomic_t*. Convert it to the latter; ok markus@ dtucker@
2010-04-23refuse to generate keys longer than OPENSSL_[RD]SA_MAX_MODULUS_BITS,Damien Miller
since we would refuse to use them anyway. bz#1516; ok dtucker@
2010-04-23set stderr to /dev/null for subsystems rather than just closing it.Damien Miller
avoids hangs if a subsystem or shell initialisation writes to stderr. bz#1750; ok markus@
2010-04-23set "detach_close" flag when registering channel cleanup callbacks.Damien Miller
This causes the channel to close normally when its fds close and hangs when terminating a mux slave using ~. bz#1758; ok markus@
2010-04-23bz#1740: display a more helpful error message when $HOME isDamien Miller
inaccessible while trying to create .ssh directory. Based on patch from jchadima AT redhat.com; ok dtucker@
2010-04-16oops, %r => remote username, not %uDamien Miller
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16revised certificate format ssh-{dss,rsa}-cert-v01@openssh.com with theDamien Miller
following changes: move the nonce field to the beginning of the certificate where it can better protect against chosen-prefix attacks on the signature hash Rename "constraints" field to "critical options" Add a new non-critical "extensions" field Add a serial number The older format is still support for authentication and cert generation (use "ssh-keygen -t v00 -s ca_key ..." to generate a v00 certificate) ok markus@
2010-04-15retry lookup for private key if there's no matching key with CKA_SIGNMarkus Friedl
attribute enabled; this fixes fixes MuscleCard support (bugzilla #1736) ok djm@
2010-04-14expand %r => remote username in ssh_config:ProxyCommand;Damien Miller
ok deraadt markus
2010-04-10fix NULL dereference; from matthew.haub AT alumni.adelaide.edu.auDamien Miller
2010-04-10show the key type that we are offering in debug(), helps distinguishDamien Miller
between certs and plain keys as the path to the private key is usually the same.
2010-04-10bz#1698: kill channel when pty allocation requests fail. FixedDamien Miller
stuck client if the server refuses pty allocation. ok dtucker@ "think so" markus@
2010-04-10fix terminology: we didn't find a certificate in known_hosts, we foundDamien Miller
a CA key
2010-04-10bz#1746 - suppress spurious tty warning when using -O and stdinDamien Miller
is not a tty; ok dtucker@ markus@
2010-03-27tweak previous; ok dtuckerJason McIntyre
2010-03-26tweak previous;Jason McIntyre
2010-03-26allow buffer_get_int_ret/buffer_get_int64_ret to take a NULL pointerDamien Miller
argument to allow skipping past values in a buffer
2010-03-26Reformat default value of PreferredAuthentications entry (current formattingDarren Tucker
implies ", " is acceptable as a separator, which it's not. ok djm@
2010-03-26mention that -S none disables connection sharing; from Colin WatsonDamien Miller
2010-03-25from portable: getcwd(NULL, 0) doesn't work on all platforms, soDamien Miller
use a stack buffer; ok dtucker@
2010-03-16crank version to openssh-5.5 since we have a few fixes since 5.4;Damien Miller
requested deraadt@ kettenis@
2010-03-16spelling in error message. ok djm kettenisKevin Steves
2010-03-15also print certificate type (user or host) for ssh-keygen -LKevin Steves
ok djm kettenis
2010-03-13fix a formatting error (args need quoted); noted by steveskJason McIntyre
2010-03-13Certificates are named *-cert.pub, not *_cert.pub; committing a diffDamien Miller
from stevesk@ ok me
2010-03-13protocol conformance fix: send language tag when disconnecting normally;Damien Miller
spotted by 1.41421 AT gmail.com, ok markus@ deraadt@
2010-03-12do not prepend AuthorizedKeysFile with getcwd(), unbreaks relative pathsMarkus Friedl
free() (not xfree()) the buffer returned by getcwd()
2010-03-12unbreak AuthorizedKeys option with a $HOME-relative path; reported byDamien Miller
vinschen AT redhat.com, ok dtucker@
2010-03-10correct certificate logging and make it more consistent betweenDamien Miller
authorized_keys and TrustedCAKeys; ok markus@
2010-03-10typos; from Ross RichardsonJason McIntyre
closes prs 6334 and 6335
2010-03-08sort the list of constraints (to -O); ok djmJason McIntyre
2010-03-08document permit-agent-forwarding certificate constraint; patch fromDamien Miller
stevesk@
2010-03-07make internal strptime string match strftime format;Damien Miller
suggested by vinschen AT redhat.com and markus@
2010-03-07openssh-5.4Damien Miller
2010-03-07Hold authentication debug messages until after successful authentication.Darren Tucker
Fixes an info leak of environment variables specified in authorized_keys, reported by Jacob Appelbaum. ok djm@
2010-03-05mention loading of certificate files from [private]-cert.pub whenDamien Miller
they are present; feedback and ok jmc@
2010-03-05document certificate authentication; help/ok djmJason McIntyre
2010-03-05tweak previous;Jason McIntyre
2010-03-05make the warning for a revoked key louder and more noticableDamien Miller
2010-03-04"force-command" is not spelled "forced-command"; spotted byDamien Miller
imorgan AT nas.nasa.gov
2010-03-04move section on CA and revoked keys from ssh.1 to sshd.8's known hostsDamien Miller
format section and rework it a bit; requested by jmc@
2010-03-04missing word; spotted by jmc@Damien Miller