# ssh-agent-proxy
**Repository Path**: mirrors_spotify/ssh-agent-proxy
## Basic Information
- **Project Name**: ssh-agent-proxy
- **Description**: A Java library that talks to the local ssh-agent.
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-18
- **Last Updated**: 2026-01-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ssh-agent-proxy
[](https://travis-ci.org/spotify/ssh-agent-proxy)
[](https://codecov.io/gh/spotify/ssh-agent-proxy)
[](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.spotify%22%20ssh-agent-proxy)
[](LICENSE)
A Java library that talks to the local ssh-agent. This project is currently in beta phase.
* [Download](#download)
* [Getting started](#getting-started)
* [Prerequisites](#prerequisites)
* [Code of conduct](#code-of-conduct)
## Download
Download the latest JAR or grab [via Maven][maven-search].
```xml
com.spotify
ssh-agent-proxy
0.1.5
```
## Getting started
```java
import org.apache.commons.codec.binary.Hex;
final byte[] dataToSign = {0xa, 0x2, (byte) 0xff};
final AgentProxy agentProxy = AgentProxies.newInstance();
final List identities = agentProxy.list();
for (final Identity identity : identities) {
if (identity.getPublicKey().getAlgorithm().equals("RSA")) {
final byte[] signedData = agentProxy.sign(identity, dataToSign);
System.out.println(Hex.encodeHexString(signedData));
}
}
```
## Prerequisities
Any platform that has the following
* Java 7+
* Maven 3 (for compiling)
## Releasing
To cut the Maven release:
```
mvn clean [-B -Dinvoker.skip -DskipTests -Darguments='-Dinvoker.skip -DskipTests'] \
-Dgpg.keyname= \
release:clean release:prepare release:perform
```
## Code of conduct
This project adheres to the [Open Code of Conduct][code-of-conduct]. By participating, you are
expected to honor this code.
[code-of-conduct]: https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md
[maven-search]: https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.spotify%22%20ssh-agent-proxy