Have been trying to setup NSX-T 3 backups, but I haven't found a single SFTP package which supports the required Algorithms.
Anyone found an SFTP server package which works?
Is this for production or lab?
I have used OpenSSH in Windows Server 2016/2019, but that is very limited to the path length so need to backup to i folder like D:\n. Could be possible to increase path length in Windows, but haven't tested that yet.
I have also used sshd in latest version of Ubuntu:
useradd nsxbackup
passwd nsxbackup
groupadd sftpusers
usermod -aG sftpusers nsxbackup
mkdir -p /sftp/nsxbackup/backup
chown nsxbackup:sftpusers /sftp/nsxbackup/backup/
vi /etc/ssh/sshd_config
#--
Subsystem sftp internal-sftp -d /backup
Match Group sftpusers
ChrootDirectory /sftp/%u
#--
systemctl restart sshd
most Linux flavors have ssh "integrated" no need for special things for it.