Menu

#56 new cmd line option -J not working?

v1.0 (example)
open
Noodle
None
5
2024-04-12
2024-04-08
simpleton
No

Hi,

The new command line option mentioned in the release notes of verion 8.2 does not seem to work (for me?):
* Support cmd line option: -J [user[:pass]@]jumpserver[:port].
Running Windows 10, latest updates.

Tried the following combos:

putty-nd.exe -J <user>@<ip.address>
putty-nd.exe -J <user>:<password>@<ip.address>
putty-nd.exe -J <user>:<password>@<ip.address>:<port></port></ip.address></password></user></ip.address></password></user></ip.address></user>

This will only open putty-nd gui, but does not start a session.
Or did it misunderstand the feature usage?

Best regards,

Discussion

  • Noodle

    Noodle - 2024-04-08

    Well, here comes my test case:

    ./putty-nd.exe -J user:passwd@119.91.33.156 root@127.0.0.1 -P 15462
    

    I have another ssh port listening15460 on 119.91.33.156.
    The putty-nd will login to user:passwd@119.91.33.156 first, and then to 127.0.0.1 with root and port 15462.

    And resullt looks like this

     

    Last edit: Noodle 2024-04-08
  • simpleton

    simpleton - 2024-04-10

    Oh, right, totally my bad. I didn't realize this was a cmd line option for jumping via a jumphost... So not a bug at all. n00b = me.
    Thanks a lot for the follow up, I appreciate your work a lot!
    Cheers

     
  • Noodle

    Noodle - 2024-04-12

    Thanks for the update!

    And some more updates about the feature.
    It is implemented with this proxy feature: https://sourceforge.net/p/putty-nd/bugs/55/
    There is another ticket about the cmd line -J option, it was hard at that time.
    The proxy feature makes it easy.

    The release is in a hurry because of the Google Drive key leaks.
    I was still trying to see if it can support multiple jumpstart servers.
    And now I got the result. It is hard either...
    So the -J option only supports 1 jumpstart server.

     

    Last edit: Noodle 2024-04-12

Log in to post a comment.

MongoDB Logo MongoDB