Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Implementing Dual SSH Authentication Methods (Username/Password and Shared Key)

16 views2 days agoConnector driver protocol SSH SSH Parameters
1
Enis Abaza [SLC] [DevOps Advocate]200 2 days ago 0 Comments

Hello everyone,

I’m currently enhancing the Linux Platform connector, which already supports SSH authentication via username and password. The existing implementation uses the options tag within the parameter type, as shown below:
<Param id="502" trending="false" save="true">
      <Name>sshUsername</Name>
      <Description>SSH Username</Description>
      <Information>
          <Subtext>The SSH username to login.</Subtext>
      </Information>
      <Type options="SSH Username">read</Type>
      ...
</Param>

<Param id="503" trending="false" save="true">
      <Name>sshPassword</Name>
      <Description>SSH Password</Description>
      <Type options="SSH PWD">read</Type>
      <Information>
          <Subtext>The SSH password to login.</Subtext>
      </Information>
      ...
</Param>

I need to extend this functionality to also support shared key authentication, allowing users to toggle between the two methods (e.g., via a toggle button parameter).

From the options attribute | DataMiner Docs, I found references to the ssh options tag, which seems like a potential solution. However, I have a few questions:

  1. Coexistence of Methods: Is it possible to support both authentication methods in the same connector, using both option tags ("SSH PWD"/"SSH Username" and "SSH OPTIONS")?

  2. If possible, how?:

    - How would the protocol determine which authentication method to use?
    - Would retaining the options="SSH Username" and options="SSH pwd" attributes work alongside shared key authentication using options="SSH PWD" attribute, or would manual connection handling (opening/closing the connection before SSH commands) be necessary?

Enis Abaza [SLC] [DevOps Advocate] Asked question 2 days ago

0 Answers

  • Active
  • Voted
  • Newest
  • Oldest
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin