<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux PAM configuration that allows or deny login via the sshd server</title> <atom:link href="http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: mark</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-177009</link> <dc:creator>mark</dc:creator> <pubDate>Wed, 14 Dec 2011 12:12:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-177009</guid> <description>It&#039;s not working on openldap authentication with white list on /etc/ssh/ssh.allow.
Dec 14 18:47:11 PDCSERVER slapd[21346]: conn=64795871 op=1 SRCH base=&quot;ou=Users,dc=kama,dc=in&quot; scope=1 deref=0 filter=&quot;(&amp;(objectClass=shadowAccount)(uid=rana.taba))&quot;
Dec 14 18:47:11 showa9 sshd[22655]: error: PAM: Authentication failure for rana.taba from 192.168.100.200</description> <content:encoded><![CDATA[<p>It&#8217;s not working on openldap authentication with white list on /etc/ssh/ssh.allow.</p><p>Dec 14 18:47:11 PDCSERVER slapd[21346]: conn=64795871 op=1 SRCH base=&#8221;ou=Users,dc=kama,dc=in&#8221; scope=1 deref=0 filter=&#8221;(&amp;(objectClass=shadowAccount)(uid=rana.taba))&#8221;</p><p>Dec 14 18:47:11 showa9 sshd[22655]: error: PAM: Authentication failure for rana.taba from 192.168.100.200</p> ]]></content:encoded> </item> <item><title>By: suzuki</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-159990</link> <dc:creator>suzuki</dc:creator> <pubDate>Sat, 02 Oct 2010 07:20:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-159990</guid> <description>hi,
it doesn&#039;t work for my system. why?</description> <content:encoded><![CDATA[<p>hi,</p><p>it doesn&#8217;t work for my system. why?</p> ]]></content:encoded> </item> <item><title>By: Gerrard Geldenhuis</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-155995</link> <dc:creator>Gerrard Geldenhuis</dc:creator> <pubDate>Thu, 13 May 2010 12:07:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-155995</guid> <description>As stated above it is key to prepend the line to allow it to be executed by pam. There is also no need at all to restart sshd.</description> <content:encoded><![CDATA[<p>As stated above it is key to prepend the line to allow it to be executed by pam. There is also no need at all to restart sshd.</p> ]]></content:encoded> </item> <item><title>By: Rajesh</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-154596</link> <dc:creator>Rajesh</dc:creator> <pubDate>Mon, 29 Mar 2010 18:58:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-154596</guid> <description>boot from a rescue cd and edit the files.</description> <content:encoded><![CDATA[<p>boot from a rescue cd and edit the files.</p> ]]></content:encoded> </item> <item><title>By: vimbyseno</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-154318</link> <dc:creator>vimbyseno</dc:creator> <pubDate>Tue, 16 Mar 2010 14:37:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-154318</guid> <description>my config:
auth required /lib/security/pam_listfile.so item=user sense=allow file=/etc/sshd/user-sshd onerr=fail
user in user-sshd:
root
user1
user2
......
now root can&#039;t remote the vps :(
if i login as root using putty, the console window (putty) closed immedietly when root loged to vps :(
how to solve my problem??? plis help me</description> <content:encoded><![CDATA[<p>my config:<br
/> auth required /lib/security/pam_listfile.so item=user sense=allow file=/etc/sshd/user-sshd onerr=fail</p><p>user in user-sshd:<br
/> root<br
/> user1<br
/> user2<br
/> &#8230;&#8230;</p><p>now root can&#8217;t remote the vps :(<br
/> if i login as root using putty, the console window (putty) closed immedietly when root loged to vps :(<br
/> how to solve my problem??? plis help me</p> ]]></content:encoded> </item> <item><title>By: Kevin</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-152627</link> <dc:creator>Kevin</dc:creator> <pubDate>Wed, 30 Dec 2009 23:21:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-152627</guid> <description>In my experience, the line:
auth required pam_listfile.so item=user sense=allow file=/etc/sshd/sshd.allow onerr=fail
must be prepended (i.e., placed as the first line) in the file, not appended as this article states.</description> <content:encoded><![CDATA[<p>In my experience, the line:<br
/> auth required pam_listfile.so item=user sense=allow file=/etc/sshd/sshd.allow onerr=fail</p><p>must be prepended (i.e., placed as the first line) in the file, not appended as this article states.</p> ]]></content:encoded> </item> <item><title>By: Chuck Hale</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-152418</link> <dc:creator>Chuck Hale</dc:creator> <pubDate>Tue, 22 Dec 2009 11:34:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-152418</guid> <description>Article solved my problem!</description> <content:encoded><![CDATA[<p>Article solved my problem!</p> ]]></content:encoded> </item> <item><title>By: Bhagesh</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-150470</link> <dc:creator>Bhagesh</dc:creator> <pubDate>Wed, 02 Sep 2009 11:52:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-150470</guid> <description>It is working fine for ssh and scp.
Now I wants to block only the ssh login session. and I required the scp file transfer
anybody have an Idea</description> <content:encoded><![CDATA[<p>It is working fine for ssh and scp.<br
/> Now I wants to block only the ssh login session. and I required the scp file transfer<br
/> anybody have an Idea</p> ]]></content:encoded> </item> <item><title>By: Gerald</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-150399</link> <dc:creator>Gerald</dc:creator> <pubDate>Fri, 28 Aug 2009 10:32:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-150399</guid> <description>Hi,
If you want block all ssh access (via login/password) AND vi authorized_keys, you shoud use &#039;&lt;b&gt;account&lt;/b&gt;    required     pam_listfile.so item=user sense=allow file=/etc/ssh/sshd.allow onerr=succeed&#039;
because &#039;auth xxx&#039; line seems not checked if sshd use public keys authentification.
Bst Regard
GeraldH</description> <content:encoded><![CDATA[<p>Hi,<br
/> If you want block all ssh access (via login/password) AND vi authorized_keys, you shoud use &#8216;<b>account</b> required     pam_listfile.so item=user sense=allow file=/etc/ssh/sshd.allow onerr=succeed&#8217;</p><p>because &#8216;auth xxx&#8217; line seems not checked if sshd use public keys authentification.</p><p>Bst Regard<br
/> GeraldH</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-140130</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 05 Jun 2007 18:04:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-140130</guid> <description>It should work, you need to play with pam modules. Pam is designed for this kind of work only.</description> <content:encoded><![CDATA[<p>It should work, you need to play with pam modules. Pam is designed for this kind of work only.</p> ]]></content:encoded> </item> <item><title>By: nick</title><link>http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-140129</link> <dc:creator>nick</dc:creator> <pubDate>Tue, 05 Jun 2007 16:34:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html#comment-140129</guid> <description>This works great on local users it seems, but its not having any effect on ldap users, or groups, what would you suggest as a way to control their access?</description> <content:encoded><![CDATA[<p>This works great on local users it seems, but its not having any effect on ldap users, or groups, what would you suggest as a way to control their access?</p> ]]></content:encoded> </item> </channel> </rss>
