use of the sftp-server option via script

Advertisement

knassher
Guest

use of the sftp-server option via script

Hi,
How do i use the sftp-server option via script to conect to a server as another user?

Reply with quote

Advertisement

mmkgraphx
Joined:
Posts:
3
Location:
Japan

Re: use of the sftp-server option via script

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.

Reply with quote

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?

Reply with quote

Advertisement

You can post new topics in this forum