Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Ubuntu Server 15.04 how to login using ssh?

Writer Emily Wong

After installation, I tried to login from a remote computer using ssh. It asks for the password but it does not allow the server password as valid. What is the default configuration for ssh in Ubuntu Server? How to change the password (without changing the password for root)?

1

2 Answers

I disable the password access and used private/public key. Follow this document:

Note! Generates the keys in your client computer and transfer the public key to the server! Do not disable the passwords authentication until you test login using the public key.

Often the default ssh config doesn't allow root login, or root login with a password (i.e. you have to use an ssh key). You could change this, but you're probably better off ssh-ing in as a normal user and using sudo or su, unless you have special requirements for some reason.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy