Warning in auth.log

Dec 7 16:46:00 anago sshd[18920]: rexec line 19: Deprecated option KeyRegenerationInterval
Dec 7 16:46:00 anago sshd[18920]: rexec line 20: Deprecated option ServerKeyBits
Dec 7 16:46:00 anago sshd[18920]: rexec line 32: Deprecated option RSAAuthentication
Dec 7 16:46:00 anago sshd[18920]: rexec line 39: Deprecated option RhostsRSAAuthentication

対策
sed -i ‘/KeyRegenerationInterval/d’ /etc/ssh/sshd_config
sed -i ‘/ServerKeyBits/d’ /etc/ssh/sshd_config
sed -i ‘/RSAAuthentication/d’ /etc/ssh/sshd_config
sed -i ‘/RhostsRSAAuthentication/d’ /etc/ssh/sshd_config
And restart SSH daemon: systemctl restart sshd

@anago ~ $ diff /etc/ssh/sshd_config /data-stock4/rsnapshot/hourly.0/anago/etc/ssh/sshd_config
18a19,20
> KeyRegenerationInterval 3600
> ServerKeyBits 1024
29a32
> RSAAuthentication yes
35a39
> RhostsRSAAuthentication no
37a42
> # Uncomment if you don’t trust ~/.ssh/known_hosts for RhostsRSAAuthentication
@anago ~ $

macport update from Sierra to High Sierra

please follow the migration instructions: https://trac.macports.org/wiki/Migration

1. ​Install the latest version of Xcode.
2. run xcode-select –install in Terminal
3. After updating the development tools, install the base MacPorts system.
MacPorts-2.4.2-10.13-HighSierra.pkg
4. port -qv installed > myports.txt
5. port echo requested | cut -d ‘ ‘ -f 1 > requested.txt
6. sudo rm -rf /opt/local/var/macports/build/*
7.

curl –location –remote-name \
https://github.com/macports/macports-contrib/raw/master/restore_ports/restore_ports.tcl
chmod +x restore_ports.tcl
sudo ./restore_ports.tcl myports.txt

8.

sudo port unsetrequested installed
xargs sudo port setrequested < requested.txt