cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14178
Views
45
Helpful
29
Replies

CUCM sftp backup to linux fail

Chi Fai Leung
Level 1
Level 1

Hi,

I'm following the guide: http://cdesigner.eu/content/14-cucm-8-free-sftp-solution-backup-ubuntu-1004-server
To install the ubuntu 15 as OpenSSH SFTP backup, but it got the fail on it

Error: Unableto access SFTP server. Please ensure the username and password are correct.

I followed all steps as same:

1) Create group for sftp access (optional) for further platform hardening - sudo groupadd sftpuser

2) Create user account for backup sudo adduser cucm_8 sftpuser and make password during user creation dialog

3) Change ownership of home directory sudo chown root.root /home/cucm_8

4) Alter permission for read and write to home directory of backup user sudo chmod 777 /home/cucm_8

5) Install open-ssh server  sudo apt-get install openssh-server

6) Test connectivity to sftp account from FileZilla client (or your preferred supporting secure mode) - transfer and delete file!!!

29 Replies 29

HI,

from CUCM command line, try to issue a "file get Ringlist.xml"

put your server's ip address.

credentials and path you use for DR  backup

Let me know if it works.

Best regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Sorry, may I know the correct one command?

admin:file get Ringlist.xml

Executed command unsuccessfully
No valid command entered

Sorry for mistyping the command.

the correct one is

file get tftp Ringlist.xml

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

[+5] to Carlo.

we typed at same time.

regds,

aman

+5 to you too my friend to be always so active ;)

Cheers

Carlo

Please rate all helpful posts "The more you help the more you learn"

Hi,

can u refer this link with detail explanation by Ryan

http://ryanthomashuff.com/2015/11/why-uc-engineers-need-to-become-linux-aficionados-part-2/

regds,

aman

admin:file get tftp Ringlist.xml
Please wait while the system is gathering files info ...done.
Sub-directories were not traversed.
Number of files affected: 1
Total size in Bytes: 2657
Total size in Kbytes: 2.5947266
Would you like to proceed [y/n]? y
SFTP server IP: 172.20.17.150
SFTP server port [22]:
User ID: cucmbackup
Password: ******
Download directory: /home/cucmbackup/cucmbackup

Could not connect to host 172.20.17.150 on port 22. Please verify SFTP settings.
admin:

Any idea? 

Hi ,

Are did you check if on your linux server is enable iptables or ipfirewall?

Centos distribution has enabled it by default.

Please check it and let us know

Thanks

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

Just tested again, it should be no issue on Fw?

My SFTP client on my PC, that still can access the linux sftp & upload download files.

Is CUCM on the same subnet of Linux Server?

If no, is there a firewall between CUCM and Linux Server?

try from cucm CLI 

utils network ping 172.20.17.150

Let us know

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

ping and telnet ... all is fine

As I can see from your screenshot, CUCM and Linux server are not on the same subnet.

Which device is routing traffic between them?

(Router, L3 Switch, Firewall)

Let us know

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"

I can change my Linux server as the same subset of CUCM and test again .... I don't understand the ping & telnet is working fine  .... and my PC changed as the CUCM subnet to upload and download through SFTP client ..... still is my networking issue?

Hi.

which CUCM version are you running?

Please let me know 

Regards

Carlo

Please rate all helpful posts "The more you help the more you learn"