Command line session - load with different Tab name

Advertisement

dazed19
Guest

Command line session - load with different Tab name

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,440
Location:
Prague, Czechia

Re: Command line session - load with different Tab name

No you cannot control session name from command-line.

Will consider adding such an option.

Reply with quote

dazed19
Guest

Re: Command line session - load with different Tab name

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".

Reply with quote

Advertisement

You can post new topics in this forum