I need to get desktop images for ip phones from CCM 6.1.
I got "file get tftp" command line.When i tried i got error"Could not connect to host 10.126.74.142 on port 115. Please verify SFTP settings"
The same error on port 22.
"file get" command is to trasfer file to your SFTP server.
It looks like CUCM was not able to connect to your SFTP server. and I don't think you can change port number of the SFTP.
Could you check if your SFTP server is running? You may download PSFTP from http://the.earth.li/~sgtatham/putty/latest/x86/psftp.exe and save to your C:\.
Then open a command prompt on your PC. Go to C:\ and type "psftp ip_address_of_SFTP". See if you could log in.
From the screenshot, it looks like either the SFTP server was not running, or the network was blocking SFTP connection.
Where the SFTP server was running on? Was it on a Windows box? If yes, you may copy the psftp.exe to that box and do the same test.
Exactly what is the 10.x.x.x server you are trying to connect to? Is that your CUCM server or a dedicated SFTP/FTP
Therein lies your problem. You won't be opening an inbound SFTP to your CUCM from PSFTP. You need to go to the CLI of the CUCM and issue the "file get" command for whatever file you want to offload to your SFTP machine. From there, you'll walk thru a series of configurations and you'll be asked to enter the SFTP machine (presumably your Windows laptop) and file path (\home\ or just \ in some cases). On your XP machine, make sure you turn off Windows or 3rd-party firewall unless you have a rule to allow port 22. Also, network ACL's could be in play that block this type of traffic to machines on a data VLAN.
Please rate helpful posts!
I guess you misread. He's trying to connect to his WinXP 10.126.74.142. Not the CUCM.
Are you sure the SFTP server is running? Have you turned off your Widnows firewall on XP? Are you testing psftp.exe on the same Win XP machine?
Actually, I'm looking at this PSFTP screenshot in which he's trying to do an open on the 10.255.70.10 (CUCM) address and it fails because CSA is going to block inbound connections of this type to CUCM.
Conversely, he's trying to open the connection to this Windows XP from a DOS prompt at c:\psftp 10.126.74.142 so unless PSTFP.exe is in the root of C - this won't work either.
I see. We were looking at different places on the same screenshot
From the bottom command prompt, you can see psftp was giving a connection error when he tried to connect to his own WinXP. That means:
1) He found psftp in the right place.
2) SFTP connection was blocked on his WinXP
Actually, you CAN sftp to the CUCM server (with the right credential). CSA won't block the connection. Because SFTP use the same port number as SSH. See what can you do when you sftp to CUCM server at http://htluo.blogspot.com/2009/08/map-uc-appliance-as-network-drive.html.
i ensured that SFTP server is running on my XP machine.
I tried to login to myself (10.126.74.142)
also tried to login to my server (10.255.70.10)
Could you post the link where it says SFTP was port 115?
Neither CUCM CLI nor PSFTP would use port 115. They will use port 22.
I guess you "customized" your SFTP server to use a non-standard port.
The link was referring to Simple File Transfer Protocol. So sad that it use the same acronym as Secure File Transfer Protocol.
CUCM does not support "Simple File Transfer Protocol". CUCM only supports "Secure File Transfer Protocol".
"Secure File Transfer Protocol" use port 22. Make sure your SFTP server was listening to port 22.
Funny, I never even thought of Simple FTP. This is pretty clear in the CUCM docs - Michael is correct, SFTP = Secure FTP. You can use FTP but it's not recommended. That's it.
Thx you all guys,
I simply got what I need from the following command which i ran it on my PC
the command is:
tftp -i 10.255.70.10 get Desktops/320x212x16/TN-Fountain.png