Topic "scp shell via command line parameter"

Author Message
[View user's profile]

Joined: 2010-11-10
Posts: 1

a while ago i wrote a small tool that launches putty with predefined profiles from an xml file (it's more easy than managing sessions and supports placeholders for hostkey and usernames so that the config can be shared between multiple users).
I added support for WinSCP so that it can be launched directly with the same settings as putty (password or hostkey, hostname, port). Now i tried to add support for logging in as different user (using sudo). Basically it is possible by creating a dynamic .ini file. The biggest disadvantage is that the default settings (gui style) and the saved hostkeys are overwritten by that ini.
So i would be really glad it it would be possible to specify the shell as command line argument somehow.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Thanks for your post. This request is being tracked already.
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