n00b Questions on Fresh Install and StackScript.

Hey, gang. I've got a brand new Linode, and I've installed and trashed several distributions (on purpose), as I learn.

Right now, I'm trying to install Ubuntu 10.04 LTS using the "macwebguy / LAMP & Basic Firewall" StackScript.

I set the password and did NOT use a public key for the non-priviliged user.

After the script completes, I try to ssh in as the non-priviliged user, and it says the pw doesn't match.

I suspect I'm making a simple newbie mistake. Any ideas?

2 Replies

The StackScript you used seems to disable SSH password logins by default. In that case, you must set up a public key for your non-privileged user in order to log in.

Connect to your server using the Lish Console, log in as the non-privileged user (you can always use passwords on the console even if it's disabled in SSH), and generate an SSH key for yourself.

Alternatively, connect using the Lish Console, log in as root, edit /etc/ssh/sshd_config to allow PasswordAuthentication, and restart the SSH daemon. This is not recommended, because passwords are often easy to brute-force.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct