jimradford / superputty

The SuperPuTTY Window Manager for putty sessions

Home Page:https://www.facebook.com/superputty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-PW not working

janwarming opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. right click on host profile and click edit
  2. insert "-pw password123" in Extra Putty Arguments
  3. save
  4. connect to the host

Expected behavior
password inserted

actual result
prompted to insert password

Desktop (please complete the following information):

  • Windows 11

if I enable "allow plain text passwords on putty command line" then putty will give an error "configured password was not accepted" no matter if i have added the -pw argument or not.

okay now it is becoming a little more strange, i have 2 servers where passing the -pw is working as expected and two servers where it does not work

I founds the problem. If the profile is a clone of another profile, passing the -pw is not working. When recreated the profile with all the same information, it was just working.

how are you cloning the profile?

Same issue, can reproduce:

  1. "cloning" I did by
  • right click on a session in sessions pane
  • "save as" -> new name.
    While this worked in 1.4.0.8 and -pw xyz was fine, no pw inserted in 1.5.0.0 on opening sessions.
  1. regardless of "copy as" or "new" session - no pw inserted into the session.

adding:

  • the Sessions.xml file has not been corrupted. All lines look ok, no strange chars in it.
  • rolling back to 1.4.0.8 using the same Sessions.xml file restores the "-pw xyz" functionality.
    Means, it is not with the Sessions.XML file, but more or less with the method of opening the putty ssh session and passing along the pw from Superputty

Had same problem, there is a popup where you must click ok if you start from scratch. It must have been missed when I copied the other connection. I'd say there's probably something in the text file, e.g. enable x