[ubuntu-studio-devel] SSH key generation, WAS: Re: wily in gedit bottom of page appears and disappears

Kaj Ailomaa zequence at mousike.me
Sun Jun 14 08:08:37 UTC 2015

On Sun, Jun 14, 2015, at 08:40 AM, Grant Frank Burton wrote:
> ok Thanks Guys for the fix and explaining why..... ok then.... could it
> be
> possible that.....
> >***********************************
> Create a SSH Key
> $ sudo apt-get install openssh-client
> To create a SSH key in a terminal:
> $ ssh-keygen -t rsa
> You can now find your keys in ~/.ssh/
> >******************************************
> When I do that the file is in my home directory and there is no ~/.ssh/
> directory.

How is this related to gedit?

If you run the command:

   ssh-keygen -t rsa

..the first option you will see is is:
  Generating public/private rsa key pair.
  Enter file in which to save the key (/home/<usernamse>/.ssh/id_rsa):

I guess you chaned the path to something else. The simplest way to use
the key is to name it exactly that. This will ensure things work
automatically - otherwise you mayl have to manually add the path to the
key when you use the ssh client application.
It's enough just to rename the keys to id_rsa and id_rsa.pub, and put
them in ~/.ssh, or rerun the command.


More information about the ubuntu-studio-devel mailing list