Topic "use of the sftp-server option via script"

Author Message
knassher

Guest


Hi,
How do i use the sftp-server option via script to conect to a server as another user?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
mmkgraphx
[View user's profile]

Joined: 2009-08-17
Posts: 3
Location: Japan
knassher wrote:
Hi,
How do i use the sftp-server option via script to conect to a server as another user?


What exactly are you asking here? Do you want to log in to one server and sftp to another? Do you have rights on either server? You'll need to supply more information in order to get a specific answer. The scripting FAQ is very direct with several examples for each command element.
knassher

Guest


Hi,
let me explain what i like to do, the server that i want to connect use sudo, i can connect to the server but no as root, what i want to do is connect to the server as root but using my own credentials.
I know that using the server sftp option you can do that, but how do i do this via script?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
knassher wrote:
but how do i do this via script?

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License