i'm having issue using WinSCP to copy files to root folders using generic or sudo accounts. i was able to copy files to generic user folders and sudo but can't copy to root/var/updates folder for instance. i think it ties to permission issue.
i have disable root ssh login and using sudo for alternatives but want to copy files to / folder for patches and upgrades etc... any advice on this how to bypass it.
See WinSCP FAQ on sudo.
A normal user doesn't have the required permission and WinSCP won't execute the sudo part for you.
So either copy the files to a temporary folder and move them to the desired folder afterwards or enable root logins (not recommended!).
Hey,
You can use another product called Veeam FastSCP, which can be configured to bypass permission problems.
Its a bit faster too.
Good Luck
~y
You also need to disable the resume feature...
for some reasons i'm not able to copy both using winscp and fastscp as mentioned.....i was able to copy to my existing logon accounts folders but not / or /var/updates or /tmp folder if i enabled root ssh logon than it's fine but disable root ssh logon no ways i can get it to copy to where i wanted unless move it to tempary location and move again using root. isn't there any choice or solution betweens switch rootremotelogon (no->yes) all the times when needed?
something is up with the user account. You should be able to write to /tmp. That's how I always do it. Then su or sudo and move it to where you want it. The other thing you can do is copy the files to a vmfs partition if you have VC 2.5 installed....
Dave
See WinSCP FAQ on sudo.