Why can I not SSH into my Ubuntu Server
by tokee123 from LinuxQuestions.org on (#523Q4)
Hey guys!
New to linux. I recently installed Ubuntu on an extra PC I had laying around. The install worked great but I want to ssh into it from my other computers. So I installed ssh on it and opened the ssh port. Still no luck. I went into the config files and made sure I have PasswordAuthentication yes, Allowusers myuser and usePAM yes.
Every time I try to ssh in it asked for user then PW and I know I'm typing it right but I get Access denied.
I did sudo service ssh status and I get these logs:
invalid user myuser from xxx.xxx.xxx.xxx port 51474
pam_unix(sshd:auth) check pass; user unknown
pam_unix(sshd:auth) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=19
Failed password for invalid user myuser from xxx.xxx.xxx.xxx port 51474 ssh2
I'm a little lost here. Any help would be appreciated greatly! Thanks!


New to linux. I recently installed Ubuntu on an extra PC I had laying around. The install worked great but I want to ssh into it from my other computers. So I installed ssh on it and opened the ssh port. Still no luck. I went into the config files and made sure I have PasswordAuthentication yes, Allowusers myuser and usePAM yes.
Every time I try to ssh in it asked for user then PW and I know I'm typing it right but I get Access denied.
I did sudo service ssh status and I get these logs:
invalid user myuser from xxx.xxx.xxx.xxx port 51474
pam_unix(sshd:auth) check pass; user unknown
pam_unix(sshd:auth) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=19
Failed password for invalid user myuser from xxx.xxx.xxx.xxx port 51474 ssh2
I'm a little lost here. Any help would be appreciated greatly! Thanks!