Find the answer to your Linux question:
Results 1 to 9 of 9
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Cant ssh for a user

    This is the entry when I tail /var/log/secure when I ssh for user "nightly"...

    Aug  4 03:19:48 itanium2 sshd[10791]: Illegal user nightly from ::ffff:
    Aug  4 03:20:10 itanium2 sshd[10791]: Failed password for illegal user nightly from ::ffff: port 32862 ssh2

    What could be the reason, plz suggest.

  2. #2
    and password is correct, works when I telnet, just ssh fails.

  3. #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

  4. $spacer_open
  5. #4
    What authentication mechanism is "nightly" using to authenticate via telnet?

  6. #5
    I guess it uses LDAP or NIS

  7. #6
    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

  8. #7
    there is nothing listed in AllowUsers. Let me try to see somewhere else. thanks

  9. #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

  10. #9
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts