Prashant Thorat
Prashant Thorat

Reputation: 1812

Ubuntu SSH connection error

I install ssh in ubuntu.I configured it.When I tried to connect using

$ssh [email protected]
It ask password. I never mention password while installing it and in config file also. What password should I enter? I also tried by changing config file I set PasswordAuthentication no then it gives me error that Permission denied(Publickey).

Upvotes: 0

Views: 206

Answers (1)

Satyam Singh
Satyam Singh

Reputation: 1140

You need to enter the account password for which you want to log in. For example the user in the system is abc, then the password will be the password for the user 'abc. And you need to user

ssh abc@ip

and then you need to enter the password for the account abc.

Upvotes: 1

Related Questions