Alpine - Linux can be small

August 24, 2021 21:59

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