# [egit] how to use a ssh private key

2 messages from 2009-05-24 to 2009-05-24. Participants: Michael Gaber, Shawn O. Pearce.
Thread: https://gitlist.dev/t/19487

## Michael Gaber, 2009-05-24 21:01

Subject: [egit] how to use a ssh private key
Message-ID: <4A19B59C.7020408@gmx.net>
URL: https://gitlist.dev/e/4A19B59C.7020408%40gmx.net

```
Hi.

I'd like to know if current egit/jgit supports using a ssh private key 
(with or without password) to sync to a git repository and how this 
could be accomplished.

Regards Michael

```

## Shawn O. Pearce, 2009-05-24 23:45

Subject: Re: [egit] how to use a ssh private key
Message-ID: <20090524234511.GY30527@spearce.org>
URL: https://gitlist.dev/e/20090524234511.GY30527%40spearce.org
In-Reply-To: <4A19B59C.7020408@gmx.net>

```
Michael Gaber <Michael.Gaber@gmx.net> wrote:
>
> I'd like to know if current egit/jgit supports using a ssh private key  
> (with or without password) to sync to a git repository and how this  
> could be accomplished.

It does support it.  Just make sure the key is listed in the
workspace preferences, under General > Network Connections > SSH2.

-- 
Shawn.

```
