Alpine - Linux can be small

June 23, 2020 17:46

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