Topic "Upload to multiple servers using privatekey"

Author Message
RonnieJ

Guest


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 {} \;
close

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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read documentation:
http://winscp.net/eng/docs/ui_pageant
_________________
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