Topic "Command line session - load with different Tab name"

Author Message
dazed19

Guest


Hi

Is there a way to control the session tab name when launching winscp from the command line?

My use case is that I am using SSH Local port forwarding to a number of target hosts.

When I load via "winscp.exe scp://username@127.0.0.1:20010" all the tabs show "username@127.0.0.1" and don't show the port and therefore a user can't (easily) distinguished between.

I have worked round this by creating sessions for each of my target hosts in winscp e.g. "VM20010", "VM20011" to match the ports used, but I would prefer to interact with winscp dynamically and avoid advance setup.

Thanks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
No you cannot control session name from command-line.

Will consider adding such an option.
dazed19

Guest


Hi

Thanks for coming back on this - just wondered if I'd missed something.

If/when you get to consider this further, an alternative might be to (optionally?) display the actual retrieved hostname in the tab. When I use Putty in a similar (tunnelled) fashion the window name changes to "username@actualhostname".
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
This request has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1373
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