3

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.

3
  • 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, 2013 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. Apr 9, 2013 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, 2013 at 19:55

2 Answers 2

3

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.

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .