Report this

What is the reason for this report?

Setting up Ubuntu

Posted on March 11, 2017
Seyi

By Seyi

Good day,

I have run into a problem setting up a new LAMP installation i setup on a droplet. (Keep in mind in am using the digital ocean console)

I am doing this tutorial specifically, and i am stuck on step four. I stopped at the instruction below because copy and paste don’t work on the console.

***Now open a file in .ssh called authorized_keys with a text editor. We will use nano to edit the file:

nano ~/.ssh/authorized_keys

Now insert your public key (which should be in your clipboard) by pasting it into the editor.

Hit CTRL-x to exit the file, then y to save the changes that you made, then ENTER to confirm the file name.***

What i did instead was login with filezilla using sftp and downloaded the key. i went in to the folder that i had created in console (/home/seyi/.ssh) and then dropped the text file i created in the folder. (i wasn’t sure if the file was supposed to be in .txt. or .pub so i put them both in the folder)

There was no way to know if it worked so i went back to console and did;

$ chmod 600 ~/.ssh/authorized_keys

That pulled an error: chmod: cannot access '/home/seyi/.ssh/authorized keys : No such file or directory.

Later i came back and tried $sudo apt-get update

entered the password and the got the error below “seyi is not in the sudoers file. the incident will be reported.”

…Help :(

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.