int128 / int128/gradle-ssh-plugin
Support for .pem identity type
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 325
- Forks
- 59
- Avg merge
- 5h 29m
- Merged PRs (30d)
- 6
Description
Amazon EC2 instances use .pem files as the identity. I am getting a reject HostKey: error when trying to use that type of file.
remotes {
sandbox {
host = 'ec2-XX-XXX-XXX-XX.eu-west-1.compute.amazonaws.com'
user = 'ec2-user'
identity = file("${System.properties['user.home']}/.ssh/devtools.pem")
}
}
Am I using it incorrectly or is this type not supported. I am trying to replicate:
ssh -i ~/.ssh/devtools.pem ec2-user@ec2-XX-XXX-XXX-XX.eu-west-1.compute.amazonaws.com
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied Gradle SSH configuration with the .pem identity and compare it with the shown ssh command. Trace the plugin's identity handling to determine whether PEM input is supported; done means the configuration connects to the EC2 host without the reject HostKey error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100