Re: Disallow users to login via ssh?

From: Peter Rehäußer (dummerchen@aol.de)
Date: 04/23/03

  • Next message: Sumit Malhotra: "Public key authentication between open-ssh and ssh2"
    From: "Peter Rehäußer" <dummerchen@aol.de>
    Date: Wed, 23 Apr 2003 23:28:07 +0200
    
    

    look at the man pages.
    It exist an option for this purpose. I think "DisallowUsers" or so.

    "Sebastian Schack" <sschack@ki.tng.de> schrieb im Newsbeitrag
    news:b86qpc$9qt$1@ulric.tng.de...
    > Hi again.
    >
    > After not being able to manage to chroot specific users into their home
    > dirs I decided to want to not let specific users connect to my computer
    > via ssh.
    >
    > I had a look at /etc/ssh/sshd.conf but didn't find anything where I
    > could add UIDs or Usernames that should not be able to login via SSH.
    >
    > Can this be done? If 'yes': how? :)
    >
    > Thanks in advance,
    >
    > Sebastian
    >
    > --
    > "I'm starting with the man in the mirror, I'm asking him to change his
    > ways, And no message could have been any clearer, If you wanna make the
    > world a better place, Take a look at yourself, and then make a change!"
    > - Michael Jackson
    >


  • Next message: Sumit Malhotra: "Public key authentication between open-ssh and ssh2"

    Relevant Pages

    • Re: Ssh Login with out a password or key
      ... > I simply want to use ssh as a mean to launch remote commands on windows ... SSH is increased security as compared to FTP, TELNET, and the R* utilities. ... Allowing sessions without security would be a corruption of its purpose. ...
      (comp.security.ssh)
    • Re: is this a bug or feature of ssh?
      ... It's the purpose of SSH to prevent the need for ... cleartext passwords to be stored in files and it's quite successful in ...
      (comp.os.vms)
    • Re: NIS and /etc/profile
      ... /usr/local/share/etc/ tree for the purpose? ... ssh -t is invaluable for sudo over ssh. ...
      (comp.os.linux.security)
    • Re: NIS and /etc/profile
      ... /usr/local/share/etc/ tree for the purpose? ... ssh -t is invaluable for sudo over ssh. ...
      (comp.os.linux.security)