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 i

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 li

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)

ssh-keygen as a regular user

2023-05-11 Thread Igor Korot
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. Can someone shed some light? Thank you.