jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.9k stars 320 forks source link

-PW not working #892

Open janwarming opened 1 year ago

janwarming commented 1 year ago

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):

janwarming commented 1 year ago

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.

janwarming commented 1 year ago

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

janwarming commented 1 year ago

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.

jimradford commented 1 year ago

how are you cloning the profile?

SteffenEngewald commented 1 year ago

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.
  2. regardless of "copy as" or "new" session - no pw inserted into the session.

SteffenEngewald commented 1 year ago

adding:

seanjmcm commented 4 months ago

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