When I try to distribute an image through SCP, I get the following error message in swim_debug.log:
ERROR,[Thread-20],com.cisco.nm.xms.xdi.pkgs.LibSwim.common.SCPUtil,run,199,copy error java.io.IOException: Administratively disabled.
I'm running LMS 2.6 RME 4.0.5 under Win2k3 SP1.
Can somebody tell me, what causes this administrative deactivation so I can reenable it? Thanks
I think what this message is telling you is that SCP on the device (router or switch) is not enabled.
To scp to a switch you need to enable the scp server on the device, like this:
ip scp server enable
You might need to do a little more (such as setup the authentication privileges etc correctly since you probably need level 15 privileges to do most of the stuff you want to do with scp) so take a read over http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hsec_c/part25/ch10/hscp.pdf
which describes what you need to do.
It's probably a good idea to test it out on the command line using the same credentials as Cisco Works would use.
So from a unix machine I'd do:
scp test.txt [email protected]:flash/
You can do the same test from Windows using pscp from the Putty SSH suite.