[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh-keygen as a regular user




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 information... Done
openssh-client is already the newest version (1:7.9p1-10+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@wxTest:/home/igor/wxwidgets# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa): ^C
root@wxTest:/home/igor/wxwidgets#
[/code]

[code]
igor@wxTest:~/wxwidgets$ ls -la ~/.ssh
ls: cannot access '/home/igor/.ssh': No such file or directory
igor@wxTest:~/wxwidgets$
[/code[

ssh-keygen usually works better than ssh-keygem

try

cd

mkdir .ssh

ssh-keygen


--
Jeremy
(Lists)


Reply to: