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
edua...@kalinowski.com.br