Topic "Export / sync connections and commands"

Author Message
gbotica
[View user's profile]

Joined: 2016-03-27
Posts: 2
Location: New Zealand
Hi,

Firstly, I love WinSCP and don't know what I'd do without it -- thank you! (I have donated a while back ...)

Anyway, I manage a number of servers from both my desktop and laptop computers and when I add or edit server configs I use the Export Configuration to save the winscp.ini to DropBox, then import on the other machine. However, this has a couple of drawbacks.

1. I use a different SSH private key to connect from my laptop vs desktop, and after I import I have to edit the site configs to change to the correct key, which is a bit of a pain. It would be great to be able to import connection settings and retain the current SSH key setting if the site already exists. Is this be possible somehow?

2. I use the WinSCP Commands quite a lot for common tasks and this is really useful - it would be great to be able to just export the commands without having to export the entire configuration - is there anyway to do this?

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
gbotica wrote:
1. I use a different SSH private key to connect from my laptop vs desktop, and after I import I have to edit the site configs to change to the correct key, which is a bit of a pain. It would be great to be able to import connection settings and retain the current SSH key setting if the site already exists. Is this be possible somehow?


- use Pageant instead of hard-coding the private key
- or use the same path to the private key on both machines
- or use /batchsettings switch to mass-update all/selected sites
http://winscp.net/eng/docs/commandline#batchsettings

Quote:
2. I use the WinSCP Commands quite a lot for common tasks and this is really useful - it would be great to be able to just export the commands without having to export the entire configuration - is there anyway to do this?

Since 5.8.2 you can set up the custom commands using "extension" file:
http://winscp.net/eng/docs/extension
gbotica
[View user's profile]

Joined: 2016-03-27
Posts: 2
Location: New Zealand
prikryl wrote:

- use Pageant instead of hard-coding the private key
- or use the same path to the private key on both machines
- or use /batchsettings switch to mass-update all/selected sites
http://winscp.net/eng/docs/commandline#batchsettings


Excellent suggestions! Thanks very much.
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