Topic "Upload to multiple servers using privatekey"

Author Message


Hey guys...

I'm trying to connect to multiple servers and uploads some files. My problem is that I have to enter the password every time it connects to another server...

I'm using;

open user@ipaddresse -privatekey=C:\somekey.ppk
and later when the files is uploaded
call find /somefolder/* -group admin -exec chgrp www-data {} \;

and then the next server...

Now every time I do a open and that other line that changes group... I have to enter password... Any way to store that password in a session or something like that?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Please read documentation:
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License