scp issues

noobOfnoobs

New Member
Credits
91
Hi all

so, i am linux rescue mode (RHEL6) and have bitviseSSH running on the windows end

im using this command
scp -rp FOLDERNAME [email protected]:/

it starts copying then fails on certain file and bombs out with
scp: protocol error" no such file or directory.

other folders bomb out with
Too many levels of symbolic links

or scp: protocol error: error processing file permissions

is there a way to make scp just force/continue while copying ?

i have had luck with some other folders, where it has gone through and copied 10gb.
 


gvisoc

Active Member
Credits
1,508
It smells like the problem may be with -r, as it follows symbolic links. The permissions can come from there, too, if the destination filesystem doesn't support them which may be the case of Windows if you're copying from RHEL to the Windows box.
 

noobOfnoobs

New Member
Credits
91
i ended mounting a cifs share, but had to to use rhel 7 and above for it work
i was using 6 and read its not supported

my cp seemed to work... albeit a little slower
thanks for the reply, i normally rely on ncftp for recursive, but i was a little limited in rescue mode
 

noobOfnoobs

New Member
Credits
91
i ended mounting a cifs share, but had to to use rhel 7 and above for it work
i was using 6 and read its not supported

my cp seemed to work... albeit a little slower
thanks for the reply, i normally rely on ncftp for recursive, but i was a little limited in rescue mode
actually rsync'd instead
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top