zsh-workers
 help / color / mirror / code / Atom feed
* ssh 7 and dsa keys (Was: _ssh: update to 7.0)
@ 2015-08-16 23:55 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2015-08-16 23:55 UTC (permalink / raw)
  To: zsh workers

On Sat, Aug 15, 2015 at 6:56 PM, Mikael Magnusson <mikachu@gmail.com> wrote:

> @@ -234,7 +244,7 @@ _ssh () {
>          (#i)hostname=*)
>            _wanted hosts expl 'real host name to log into' _ssh_hosts && ret=0
>            ;;
> -        (#i)(hostbasedkeytypes|hostkeyalgorithms)=*)
> +        (#i)(hostbasedkeytypes|hostkeyalgorithms|pubkeyacceptedkeytypes)=*)
>            _values -s , 'key types' \
>                'ecdsa-sha2-nistp256-cert-v01@openssh.com' \
>                'ecdsa-sha2-nistp384-cert-v01@openssh.com' \
> @@ -450,6 +460,7 @@ _ssh () {
>                  Protocol \
>                  ProxyCommand \
>                  ProxyUseFdpass \
> +                PubkeyAcceptedKeyTypes \
>                  PubkeyAuthentication \
>                  RekeyLimit \
>                  RemoteForward \

As an aside, if you get a password prompt when you're trying to push
to sf after updating to ssh 7.0, it's because the public key they have
is dsa, and ssh 7.0 disables using them by default. If you want to
ignore this and just keep on living your life, add this to your
~/.ssh/config

Host *.code.sf.net
PubkeyAcceptedKeyTypes +ssh-dss

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-16 23:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-16 23:55 ssh 7 and dsa keys (Was: _ssh: update to 7.0) Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).