ssh:keypair

Full name:

org.kuali.maven.plugins:ssh-maven-plugin:1.0.0:keypair

Description:

Generate a public key / private key pair in the format desired by AWS (Amazon Web Services)

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.

Required Parameters

Name Type Since Description
algorithm Algorithm - The algorithm to use, RSA or DSA
Default value is: RSA.
User property is: ssh.algorithm.
keyName String - The key name
Default value is: ${user.name}.
User property is: ssh.keyName.
privateKey File - The file where the private key is generated
Default value is: ./target/ssh/id_rsa.
User property is: ssh.privateKey.
publicKey File - The file where the public key is generated
Default value is: ./target/ssh/id_rsa.pub.
User property is: ssh.publicKey.
size int - The key size
Default value is: 2048.
User property is: ssh.keySize.

Parameter Details

algorithm:

The algorithm to use, RSA or DSA
  • Type: org.kuali.common.core.ssh.Algorithm
  • Required: Yes
  • User Property: ssh.algorithm
  • Default: RSA

keyName:

The key name
  • Type: java.lang.String
  • Required: Yes
  • User Property: ssh.keyName
  • Default: ${user.name}

privateKey:

The file where the private key is generated
  • Type: java.io.File
  • Required: Yes
  • User Property: ssh.privateKey
  • Default: ./target/ssh/id_rsa

publicKey:

The file where the public key is generated
  • Type: java.io.File
  • Required: Yes
  • User Property: ssh.publicKey
  • Default: ./target/ssh/id_rsa.pub

size:

The key size
  • Type: int
  • Required: Yes
  • User Property: ssh.keySize
  • Default: 2048