int128 / int128/gradle-ssh-plugin

Prompting the user for ssh password / keyfile password (passphrase)

Open
#302 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Groovy
Stars
325
Forks
59
Avg merge
5h 29m
Merged PRs (30d)
6

Description

Instead of defining a password/passphrase within the gradle script or an environment variable, is there a way of prompting for a password from the command line when initiating an ssh session with a specific machine?
I'd like to avoid storing plain text files anywhere.

I tried reading from System.in in the ssh.run block, but that didn't work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Gradle script and the ssh.run block described in the report, then trace how System.in is handled when an SSH session starts. Done means users can enter an SSH password or keyfile passphrase interactively without storing it in a script, environment variable, or plain-text file.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.