Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #258178

Re: ssh-keygen as a regular user

From Eduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Newsgroups linux.debian.user
Subject Re: ssh-keygen as a regular user
Date 2023-05-12 14:50 +0200
Message-ID <GuAnD-8mxR-5@gated-at.bofh.it> (permalink)
References (1 earlier) <Gutm9-8ifP-3@gated-at.bofh.it> <GutPb-8iw0-3@gated-at.bofh.it> <GutYR-8iz8-1@gated-at.bofh.it> <Guyc9-8ljm-5@gated-at.bofh.it> <GuAdX-8mun-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 it did:

$ ssh-keygen 
                                               Generating public/private 
rsa key pair.
Enter file in which to save the key (/home/ekalin/.ssh/id_rsa):
Created directory '/home/ekalin/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/ekalin/.ssh/id_rsa
Your public key has been saved in /home/ekalin/.ssh/id_rsa.pub
...

-- 
<Elric> no BSD fans ?
<EvilTypeGuy> Elric: it's hard to be a gamer and a bsd fan :p

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ssh-keygen as a regular user Igor Korot <ikorot01@gmail.com> - 2023-05-12 07:10 +0200
  Re: ssh-keygen as a regular user Geert Stappers <stappers@stappers.nl> - 2023-05-12 07:20 +0200
    Re: ssh-keygen as a regular user Igor Korot <ikorot01@gmail.com> - 2023-05-12 07:50 +0200
      Re: ssh-keygen as a regular user Jeremy Ardley <jeremy@ardley.org> - 2023-05-12 08:00 +0200
        Re: ssh-keygen as a regular user jeremy ardley <jeremy@ardley.org> - 2023-05-12 12:30 +0200
          Re: ssh-keygen as a regular user Vincent Lefevre <vincent@vinc17.net> - 2023-05-12 14:40 +0200
            Re: ssh-keygen as a regular user Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2023-05-12 14:50 +0200
      Re: ssh-keygen as a regular user Hanno 'Rince' Wagner <wagner@rince.de> - 2023-05-12 08:10 +0200
  Re: ssh-keygen as a regular user Jeremy Ardley <jeremy@ardley.org> - 2023-05-12 07:20 +0200

csiph-web