SFTP Credentials for CUCM backups must be configured in DRF and SFTP application in the windows server.
We can use freeFtdp, solarwind SFTP and openSSH applications to store the backup in windows server. We are using opendSSH. Guy who configured OpenSSH in windows has left the company. So I need to check the credentials configured in openSSH. We can get the user name in the backup DRF but not the password. OpenSSH must be configured in Commandportmt. I guess there are some commands or short cuts to see the password. Please assist.
Here's a snippet of the sshd_config file that I have working on a Linux distro with OpenSSH v6.7 and CUCM/Unity backups.
Create a user, add them to the sftponly group, set the home directory to a folder where you want the backups to go. For a little extra security, you can set the user shell to /bin/false. Newer OpenSSH versions are picky with folder permissions. This home folder needs root:root permissions. Create a user-writable subfolder where the backups will go.
Newer OpenSSH disables some encryption ciphers, you will need to enable some for this to work.
For example, create a new user called ciscobackup, home directory of /home/ciscobackup with no shell access (this may be a different procedure depending which linux distro you are using)
useradd -d /home/ciscobackup -G sftponly -s /bin/false ciscobackup
chown root:root /home/ciscobackup
chown ciscobackup:ciscobackup /home/ciscobackup/callmanager
chmod 775 /home/ciscobackup/callmanager
Subsystem sftp internal-sftp
Match Group sftponly
In CUCM add a backup server in your call manager and set the folder to /callmanager.
Check the sshd log files on your linux box to troubleshoot any folder permissions or cipher errors if adding the backup server failed.