Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm on a Win7 box connecting to a linux server.

From reading: http://winscp.net/eng/docs/faq_su it looks like I need to open my SCP connections as the particular user.

When I connect via SSH, I can use su and then see all the files I need on the system.

I would like to know if there is a program I can use that will allow me to connect via SSH and then open an SCP connection with those elevated privileges. I would prefer something with a GUI, such as WinSCP.

share|improve this question
1  
Root login is disabled? It might also help if you explain why you want to do this, maybe there are alternatives. –  Daniel Beck Apr 9 '13 at 18:03
1  
the very best answer is to make sure that the files you need are accessible to the user who needs them, eg you. –  Frank Thomas Apr 9 '13 at 18:09
    
@DanielBeck, yes root ssh is disabled by design, so I have to su after I connect. I will do as Frank suggests, if there is no way to do what I requested. –  VenomFangs Apr 9 '13 at 19:55
add comment

2 Answers

I believe that the exact link you have posted shows you how to "connect via SSH and then open an SCP connection with those elevated privileges".

I believe that there is no other/better way. Actually I do not know of any other file transfer client that allows this. And if there is, it can hardly do it other way.

share|improve this answer
add comment

Allowing root logons directly via password is definitely a security risk. I'd say the best way is to use sudo.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.