01-07-2016 04:01 AM - edited 03-19-2019 10:33 AM
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!!!
01-07-2016 05:17 AM
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
01-07-2016 05:50 AM
Sorry, may I know the correct one command?
admin:file get Ringlist.xml
Executed command unsuccessfully
No valid command entered
01-07-2016 05:55 AM
Sorry for mistyping the command.
the correct one is
file get tftp Ringlist.xml
Regards
Carlo
01-07-2016 05:57 AM
[+5] to Carlo.
we typed at same time.
regds,
aman
01-07-2016 06:00 AM
+5 to you too my friend to be always so active ;)
Cheers
Carlo
01-07-2016 06:58 AM
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
01-07-2016 06:23 AM
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?
01-07-2016 06:34 AM
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
01-07-2016 06:40 AM
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.
01-07-2016 06:45 AM
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
01-07-2016 07:07 AM
ping and telnet ... all is fine
01-07-2016 07:17 AM
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
01-07-2016 07:29 AM
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?
01-07-2016 10:10 AM
Hi.
which CUCM version are you running?
Please let me know
Regards
Carlo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide