December 12, 2021 15:57
Set the default editor in Alpine Linux
With nano ~/.profile add:
export EDITOR='nano'
export VISUAL='nano'
Accept new SSH host key in Alpine Linux
The -p can be omitted but not moved inside the command!
ssh-keyscan -H -p [PORT] [HOST] >> ~/.ssh/known_hosts