Hide login username from WinSCP title bar

1

1

Upon connecting via SFTP to a remote system, WinSCP displays the connection details on the titlebar of the application, as :

user@<system_ip> - WinSCP

I was wondering if there is a way to hide this information on the titlebar. I checked in the Environment preference options, but did not notice anything with a casual glance. There is an option in Window section to hide the path currently being navigated to on the remote system, but it does not remove the connection details. Toolbar options did not have anything either.

A check at https://winscp.net/eng/docs/guide_protecting_credentials_for_automation did not yield the information I was looking for.

Is there a way for this information to be hidden?

I am using the latest WinSCP version on Windows 10.

user1173240

Posted 2020-02-27T07:31:41.927

Reputation: 261

Is this about WinSCP GUI? Or about scripting (seeing your "automation" link)? – Martin Prikryl – 2020-02-27T07:42:33.800

At the moment, about the GUI specifically. I mentioned the link since this is somewhat related to protecting login credentials, I went through that link to see if it had any tips related to protecting the username from being exposed (to an onlooker), and the ip address, on the GUI as well, apart from automation. – user1173240 – 2020-02-27T07:48:45.980

Answers

2

What WinSCP shows in the title is the name of the session.

If you open an ad-hoc session (without saving it as a stored site on the Login dialog), WinSCP indeed generates an implicit name with a format user@host.

But if you save your session on Login dialog, you can name it any way you like.

You can also rename an opened session – But you would have to do that every time.

Martin Prikryl

Posted 2020-02-27T07:31:41.927

Reputation: 13 764

Thank you. I will try it out. – user1173240 – 2020-02-27T07:49:10.047

OK, that worked. The title bar shows the name of the saved session, whatever that may be. Just a question, on the login window, when a session is selected, its saved details also show up in the right hand pane - any way to hide that pane (to prevent an onlooker from seeing it just then)? – user1173240 – 2020-02-27T08:20:43.330

1

No it is not possible to hide that. But you can create a desktop shortcut to the site to skip the Login dialog completely.

– Martin Prikryl – 2020-02-27T08:27:29.793

Thank you. Appreciate it. – user1173240 – 2020-02-27T08:32:21.443