Results 1 to 9 of 9
This is the entry when I tail /var/log/secure when I ssh for user "nightly"...
Code:
Aug 4 03:19:48 itanium2 sshd[10791]: Illegal user nightly from ::ffff:10.91.220.35
Aug 4 03:20:10 itanium2 sshd[10791]: ...
- 08-04-2011 #1
Cant ssh for a user
This is the entry when I tail /var/log/secure when I ssh for user "nightly"...
Code:Aug 4 03:19:48 itanium2 sshd[10791]: Illegal user nightly from ::ffff:10.91.220.35 Aug 4 03:20:10 itanium2 sshd[10791]: Failed password for illegal user nightly from ::ffff:10.91.220.35 port 32862 ssh2
What could be the reason, plz suggest.
- 08-04-2011 #2
and password is correct, works when I telnet, just ssh fails.
- 08-04-2011 #3
there is a local user for the host with which I can ssh to the system but not with nightly. nightly is not in /etc/passwd
- 08-04-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
What authentication mechanism is "nightly" using to authenticate via telnet?
- 08-04-2011 #5
- 08-04-2011 #6Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
On the server, in /etc/ssh/sshd_config, is a list of users listed in AllowUsers?
If LDAP/NIS, maybe there is client-side configuration that needs to be done? Google for something like "Failed password for illegal user" + NIS or LDAP
- 08-04-2011 #7
there is nothing listed in AllowUsers. Let me try to see somewhere else. thanks
- 08-05-2011 #8
the IP settings of the present host was changed.
So the keys got messy.
I disabled the PubkeyAuthentication option in /etc/ssh/sshd_config
Now I can login, but i need to regenrate the keys
- 08-05-2011 #9Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
ah. you can use ssh-keygen for that. and try ssh-copy-id to properly and safely copy the SSH keys to your remote host.


Reply With Quote