Switch from Dropbear to OpenSSH on DietPi.
Dropbear SSH is a great solution for embedded devices, but sometimes I want to use a plain old OpenSSH server.
To use the full-blown OpenSSH server you need to install it using the software center.
Open SSH server menu.
Select desired SSH server.
Execute install step.
Remember to update service settings after the installation process is complete.
scp needs some attention from your side, but does not require full-blown OpenSSH server.
$ scp data.tar.gz firstname.lastname@example.org:~/backup
bash: scp: command not found lost connection
To use OpenSSH secure file copy install
openssh-client on server.
server$ sudo apt install openssh-client
sftp needs some attention from your side, but does not require full-blown OpenSSH server.
$ sftp email@example.com
bash: /usr/lib/sftp-server: No such file or directory Connection closed. Connection closed
To add OpenSSH secure file transfer program install
openssh-sftp-server on server.
server$ sudo apt install openssh-sftp-server