scp issues

noobOfnoobs

New Member
Joined
Mar 28, 2021
Messages
13
Reaction score
0
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 username@onpremserver:/

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.
 


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.
 
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
 
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
 

Members online

No members online now.

Latest posts

Top