LoginSignup
9
8

More than 5 years have passed since last update.

macOS 10.12 Sierra にしたら ssh 構文エラーになった件

Posted at

こんにちは、人柱の wnoguchi です。
一時期秘密鍵漏洩問題で世間を賑わした OpenSSH についてです。

  1. CVE-2016-0777
  2. CVE-2016-0778

Mac はこういうことに対応が遅いことで有名ですが、 Sierra にしたら OpenSSH のメジャーバージョンが上がって

✗˵╹◡╹˶✗  ~ ssh hogehoge
/Users/wnoguchi/.ssh/config: line 5: Bad configuration option: useroaming
/Users/wnoguchi/.ssh/config: terminating, 1 bad configuration options

こうなり、

✗˵╹◡╹˶✗  ~ ssh -V
OpenSSH_7.2p2, LibreSSL 2.4.1

こうなって

  • ssh(1), sshd(8): remove unfinished and unused roaming code (was already forcibly disabled in OpenSSH 7.1p2).
~/.ssh/config
  Host *
    UseRoaming no

UseRoaming no は不要になりました。

9
8
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8