Is there any way to pass username to Putty

Advertisement

Fix317
Joined:
Posts:
3

Is there any way to pass username to Putty

Hi, I was able to pass password to Putty but not username.
Is there anyway to pass username and password both at the sametime?
Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,552
Location:
Prague, Czechia

Re: Is there any way to pass username to Putty

WinSCP should pass username automatically as long as it is entered in the session. How do you enter the username in WinSCP?

Reply with quote

Fix317

Re: Is there any way to pass username to Putty

I entered username in username box and Password in password box and saved it as a session. I am using SFTP. :)

Reply with quote

martin
Site Admin
martin avatar

Re: Is there any way to pass username to Putty

And even the if you use "open in putty", you are prompted for password? It can happen if you have in putty session list a session with a same name as current winscp session. WinSCP then uses that session instead its own settings.

Reply with quote

Guest

Re: Is there any way to pass username to Putty

martin wrote:

And even the if you use "open in putty", you are prompted for password? It can happen if you have in putty session list a session with a same name as current winscp session. WinSCP then uses that session instead its own settings.

After changing Putty config, in Putty, like so:
Connection --> Data --> Login details --> When username is not specified: "User system username"
it worked!

you can also hard-type-in your username under:
Connection --> Data --> Login details --> Auto-login username

Reply with quote

Advertisement

You can post new topics in this forum