scp

Michael Havens bmike1 at gmail.com
Thu Jul 25 09:17:14 MST 2013


well, I'm trying to copy what is on the larger usb drive across the network
to the TV server. What is happening is that it tries to copy the files and
gives me a permission denied error then I append sudo to the command and it
tells me to do something to fix the error that appears but after I do it
the permission denied error persists. what am I doing wrong?

scp: /home/xbmc/pictures/weddingdress4.jpg: Permission denied
bmike1 at PresarioLapTop1:/media/bmike1/USB20FD$ sudo scp -r *
xbmc at 192.168.0.3:/home/xbmc/pictures
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
c1:d5:5d:4e:32:9c:4b:28:53:17:49:a6:37:a3:bf:62.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.0.3
ECDSA host key for 192.168.0.3 has changed and you have requested strict
checking.
Host key verification failed.
lost connection
bmike1 at PresarioLapTop1:/media/bmike1/USB20FD$
bmike1 at PresarioLapTop1:/media/bmike1/USB20FD$
sudo  ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.0.3
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
bmike1 at PresarioLapTop1:/media/bmike1/USB20FD$ sudo scp -r *
xbmc at 192.168.0.3:/home/xbmc/pictures
The authenticity of host '192.168.0.3 (192.168.0.3)' can't be established.
ECDSA key fingerprint is c1:d5:5d:4e:32:9c:4b:28:53:17:49:a6:37:a3:bf:62.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.3' (ECDSA) to the list of known hosts.
xbmc at 192.168.0.3's password:
scp: /home/xbmc/pictures/0000backup: Permission denied
scp: /home/xbmc/pictures/100_0643.JPG: Permission denied
scp:

:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130725/7fa3c33f/attachment.html>


More information about the PLUG-discuss mailing list