$ vi /etc/ssh/sshd_config
# 以下を編集する
Port 10022 # 10000以上の任意の番号に変更する(10022は例)
PermitRootLogin no # rootユーザーのsshログイン禁止
PasswordAuthentication no # パスワードでのsshログイン禁止
$ brew upgrade --help
brew upgrade [install-options] [--cleanup] [--fetch-HEAD] [--ignore-pinned] [--display-times] [formulae]:
Upgrade outdated, unpinned brews (with existing install options).
Options for the install command are also valid here.
If --cleanup is specified or HOMEBREW_UPGRADE_CLEANUP is setthen remove
previously installed version(s) of upgraded formulae.
If --fetch-HEAD is passed, fetch the upstream repository to detect if
the HEAD installation of the formula is outdated. Otherwise, the
repository's HEAD will be checked for updates when a new stable or devel version has been released. If --ignore-pinned is passed, set a 0 exit code even if pinned formulae are not upgraded. If --display-times is passed, install times for each formula are printed at the end of the run. If formulae are given, upgrade only the specified brews (unless they are pinned; see pin, unpin).