Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Ubuntu 16.04-LTS SSH authentication problems
- Date: Fri, 29 Apr 2016 16:46:21 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Ubuntu 16.04-LTS SSH authentication problems
- References: <20160427211413.5d651e3bb2d2e5be89367065@kinali.ch> <22305.236.757653.984191@turnbull.sk.tsukuba.ac.jp> <20160428032241.GA3044@telephonic.cynic.net> <22305.41896.492295.902735@turnbull.sk.tsukuba.ac.jp> <20160428072103.GC3044@telephonic.cynic.net> <22305.55501.44485.396546@turnbull.sk.tsukuba.ac.jp> <CAAhy3dufj99HHCUHta6wAkGjzpgXfF1n1d2RKYcfAM=ZxdfAkA@mail.gmail.com> <22306.15167.267308.941357@turnbull.sk.tsukuba.ac.jp> <20160429031209.GC2853@telephonic.cynic.net> <57230C2C.5060903@l.u-tokyo.ac.jp>
- User-agent: Mutt/1.5.21 (2010-09-15)
When you have issues with SSH authentication, the first step is always to look at /var/log/auth.log or equivalant. Second, of course, is to check permissions on the user's $HOME, $HOME/.ssh and the files underneath those directories. Ownership mustn't be weird (though they don't all have to be owned by the user, $HOME can be owned by root, though not $HOME/.ssh IIRC) but permissions are particularly important; also IIRC having $HOME/.ssh/authorized_keys group writable, even if it's by the user's group and he's the only one in it, will result in an authentication failure. The next step is to use the `-v` option when you SSH in and have a look at what it's asking you for in terms of authentication. Oh, and please, please set `PasswordAuthentication no` in your /etc/ssh/sshd_config. Allowing password authentication has to be pretty near the number one way Linux systems get cracked. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 To iterate is human, to recurse divine. - L Peter Deutsch
- References:
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Attila Kinali
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Stephen J. Turnbull
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Curt Sampson
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Stephen J. Turnbull
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Curt Sampson
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Stephen J. Turnbull
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Raymond Wan
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Stephen J. Turnbull
- Re: [tlug] Running without Gnome/KDE/xfce/whatever. (was: Ubuntu 16.04-LTS Japanese Text Input)
- From: Curt Sampson
- [tlug] Ubuntu 16.04-LTS SSH authentication problems
- From: Charles Muller
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Up against the wall! [was: Running without Gnome...]
- Next by Date: Re: [tlug] Ubuntu 16.04-LTS SSH authentication problems
- Previous by thread: [tlug] Ubuntu 16.04-LTS SSH authentication problems
- Next by thread: Re: [tlug] Ubuntu 16.04-LTS SSH authentication problems
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links