I was trying to SCP a file toward a Cisco 2960S.
scp c2960s-universalk9-mz.150-2.SE6.bin firstname.lastname@example.org:c2960s-universalk9-mz.150-2.SE6.bin Password: Privilege denied.
This was already configured, but it didn’t work
username peter privilege 15 secret 5 **** aaa new-model aaa session-id unique ip ssh version 2 ip scp server enable
Only after adding the following the SCP was successful
aaa authentication login default local aaa authorization exec default local none
it worked, as you can see:
scp c2960s-universalk9-mz.150-2.SE6.bin peter@ng-c2960s-a1-cs1:c2960s-universalk9-mz.150-2.SE6.bin Password: c2960s-universalk9-mz.150-2.SE6.bin 100% 14MB 37.7KB/s 06:17