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.