Skip to content
Advertisement

ssh key gen Permission Denied [closed]

I am trying to make ssh key for a the deployer user

JavaScript

i have tried all of theses

JavaScript

Advertisement

Answer

It looks like you don’t have the privileges to save the files necessary to complete the operation. Try running the same command using sudo:

JavaScript

When prompted for a password, enter your password. If this doesn’t work, you can try using the command su, which will switch to the root user directly.

Advertisement