Re: ssh-keygen as a regular user

2023-05-12 Thread Eduardo M KALINOWSKI
On 12/05/2023 09:36, Vincent Lefevre wrote: On 2023-05-12 18:23:41 +0800, jeremy ardley wrote: cd mkdir .ssh chmod 700 .ssh ssh-keygen Is there any reason why ssh-keygen doesn't create a .ssh directory (with the right permissions) if it doesn't exist yet? It does, and even let's you know

Re: ssh-keygen as a regular user

2023-05-12 Thread Vincent Lefevre
On 2023-05-12 18:23:41 +0800, jeremy ardley wrote: > cd > > mkdir .ssh > > chmod 700 .ssh > > ssh-keygen Is there any reason why ssh-keygen doesn't create a .ssh directory (with the right permissions) if it doesn't exist yet? -- Vincent Lefèvre - Web: 100% accessibl

Re: ssh-keygen as a regular user

2023-05-12 Thread jeremy ardley
On 12/5/23 13:50, Jeremy Ardley wrote: ode[ ssh-keygen usually works better than ssh-keygem try cd mkdir .ssh ssh-keygen I now remember some ssh functions check file and directory permissions and will fail if not correct Improved procedure: cd mkdir .ssh chmod 700 .ssh ssh-keyge

Re: ssh-keygen as a regular user

2023-05-11 Thread Jeremy Ardley
On 11/5/23 11:22, Igor Korot wrote: [code] igor@wxTest:~/wxwidgets$ ssh-keygem bash: ssh-keygem: command not found igor@wxTest:~/wxwidgets$ su Password: root@wxTest:/home/igor/wxwidgets# apt-get install openssh-client Reading package lists... Done Building dependency tree Reading state informa

Re: ssh-keygen as a regular user

2023-05-11 Thread Igor Korot
Hi, On Fri, May 12, 2023 at 12:19 AM Geert Stappers wrote: > > On Fri, May 12, 2023 at 12:07:00AM -0500, Igor Korot wrote: > > Hi, ALL, > > Is there a reason I can't run "ssh-keygen" as a regular user? > > Several :-) > > > > I am able to do it as "root" though, but I think it shouldn't happen.

Re: ssh-keygen as a regular user

2023-05-11 Thread Geert Stappers
On Fri, May 12, 2023 at 12:07:00AM -0500, Igor Korot wrote: > Hi, ALL, > Is there a reason I can't run "ssh-keygen" as a regular user? Several :-) > I am able to do it as "root" though, but I think it shouldn't happen. > > Can someone shed some light? Find a better way to open a discussion

Re: ssh-keygen as a regular user

2023-05-11 Thread Jeremy Ardley
On 12/5/23 13:07, Igor Korot wrote: Hi, ALL, Is there a reason I can't run "ssh-keygen" as a regular user? I am able to do it as "root" though, but I think it shouldn't happen. Check the file permissions and ownership of ~/.ssh files ? -- Jeremy (Lists)

Re: ssh-keygen and rsa Keys

2016-09-26 Thread Lars Noodén
On 09/27/2016 12:19 AM, Martin McCormick wrote: >... > The short story is that the Mac now uses openssh-7 > instead of open-ssh-6. Dsa encryption keys have been declared > obsolete for some time now and openssh-7 defaults to ignoring > any id_dsa.pub keys you might have been using. >... That

Re: ssh-keygen

2007-05-03 Thread KS
Douglas Allan Tutty wrote: > On Thu, May 03, 2007 at 01:16:23AM -0400, KS wrote: >> Greg Folkert wrote: >>> On Thu, 2007-05-03 at 00:40 -0400, KS wrote: The warning had following in it, is the :3 in the end the line number? Add correct host key in /home/foobar/.ssh/known_hosts to get

Re: ssh-keygen

2007-05-03 Thread Douglas Allan Tutty
On Thu, May 03, 2007 at 01:16:23AM -0400, KS wrote: > Greg Folkert wrote: > > On Thu, 2007-05-03 at 00:40 -0400, KS wrote: > >> The warning had following in it, is the :3 in the end the line number? > >> > >> Add correct host key in /home/foobar/.ssh/known_hosts to get rid of this > >> message. > >

Re: ssh-keygen

2007-05-02 Thread Greg Folkert
On Thu, 2007-05-03 at 01:16 -0400, KS wrote: > Greg Folkert wrote: > > On Thu, 2007-05-03 at 00:40 -0400, KS wrote: > >> The warning had following in it, is the :3 in the end the line number? > >> > >> Add correct host key in /home/foobar/.ssh/known_hosts to get rid of this > >> message. > >> Offen

Re: ssh-keygen

2007-05-02 Thread KS
Greg Folkert wrote: > On Thu, 2007-05-03 at 00:40 -0400, KS wrote: >> The warning had following in it, is the :3 in the end the line number? >> >> Add correct host key in /home/foobar/.ssh/known_hosts to get rid of this >> message. >> Offending key in /home/foobar/.ssh/known_hosts:3 > > Line numbe

Re: ssh-keygen

2007-05-02 Thread Greg Folkert
On Thu, 2007-05-03 at 00:40 -0400, KS wrote: > Sudev Barar wrote: > > On 03/05/07, KS <[EMAIL PROTECTED]> wrote: > >> Allan Wind wrote: > >> > On 2007-05-02T23:10:07-0400, KS wrote: > >> >> However, ssh-keygen gives me the exact same output if I try to do it > >> >> again even though the host does

Re: ssh-keygen

2007-05-02 Thread KS
Sudev Barar wrote: > On 03/05/07, KS <[EMAIL PROTECTED]> wrote: >> Allan Wind wrote: >> > On 2007-05-02T23:10:07-0400, KS wrote: >> >> However, ssh-keygen gives me the exact same output if I try to do it >> >> again even though the host does not exist in the file (same output >> with >> >> -v flag)

Re: ssh-keygen

2007-05-02 Thread KS
Allan Wind wrote: > On 2007-05-02T23:10:07-0400, KS wrote: >> However, ssh-keygen gives me the exact same output if I try to do it >> again even though the host does not exist in the file (same output with >> -v flag). Shouldn't it give a more informative output like: host entry >> not found in kno

Re: ssh-keygen

2007-05-02 Thread Allan Wind
On 2007-05-02T23:10:07-0400, KS wrote: > However, ssh-keygen gives me the exact same output if I try to do it > again even though the host does not exist in the file (same output with > -v flag). Shouldn't it give a more informative output like: host entry > not found in known_hosts file? Or am I m