Topic "default/parameterized/prompted username"

Author Message
DavidM
[View user's profile]

Joined: 2011-10-25
Posts: 6
Location: New York, NY
I am using the GSSAPI login, but I would like to be able to share my session definitions with other users via a common winscp.ini file. However, it won't work as such, since I have to store my username in each session definition.

It would be better if the "username" acquisition was a bit more flexible, so that it could accept '.' to mean "use the console login credentials", %<env_var>% to get some variable value, a command line parameter, or if empty, then prompt for a username (but still use GSSAPI to acquire the ticket once it knows which to use)

The use of the %<env>% form would be to allow me to use something OTHER than the console login credentials (ones that I acquire for a different realm, after login, for instance). e.g. if my console login is davidm@olddomain.bank.com, but the remote machine only accepts david.m@newdomain.@bank.com
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
This is actually supported already since 5.0.2 beta:
http://winscp.net/tracker/show_bug.cgi?id=392

Though it has not been documented yet.
_________________
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