 |
|
 |
|
Next: Process-centric monitor tool
|
| Author |
Message |
External

Since: Apr 18, 2007 Posts: 15
|
(Msg. 1) Posted: Sun May 27, 2007 2:22 pm
Post subject: Would like to restrict ssh access to specific users Archived from groups: comp>os>linux>security, others (more info?)
|
|
|
|
| Other than hacking the source code, is there any way to restrict
access through ssh to some specified user (for instance, moi)?
TIA,
-Ramon
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 25, 2006 Posts: 36
|
(Msg. 2) Posted: Sun May 27, 2007 5:14 pm
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sun, 27 May 2007 19:22:31 -0700, Ramon F Herrera wrote:
> Other than hacking the source code, is there any way to restrict
> access through ssh to some specified user (for instance, moi)?
man sshd
Do something to help yourself, Win-droid.
--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me". |
|
| Back to top |
|
 |  |
External

Since: Jul 21, 2007 Posts: 28
|
(Msg. 3) Posted: Sun May 27, 2007 5:25 pm
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ramon F Herrera <ramon DeleteThis @conexus.net> writes:
> Other than hacking the source code, is there any way to restrict
> access through ssh to some specified user (for instance, moi)?
Yes, via the AllowUsers option in the /etc/ssh/sshd_config file.
--
% Randy Yates % "She's sweet on Wagner-I think she'd die for Beethoven.
%% Fuquay-Varina, NC % She love the way Puccini lays down a tune, and
%%% 919-577-9882 % Verdi's always creepin' from her room."
%%%% <yates DeleteThis @ieee.org> % "Rockaria", *A New World Record*, ELO
http://home.earthlink.net/~yatescr |
|
| Back to top |
|
 |  |
External

Since: May 12, 2007 Posts: 178
|
(Msg. 4) Posted: Sun May 27, 2007 5:34 pm
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ramon F Herrera wrote:
>
> Other than hacking the source code, is there any way to restrict
> access through ssh to some specified user (for instance, moi)?
group access?
--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
<http://kadaitcha.cx/vista/dogsbreakfast/index.html>
cbfalconer at maineline dot net
--
Posted via a free Usenet account from http://www.teranews.com |
|
| Back to top |
|
 |  |
External

Since: Apr 13, 2007 Posts: 42
|
(Msg. 5) Posted: Mon May 28, 2007 2:39 pm
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ramon F Herrera <ramon DeleteThis @conexus.net> writes:
> Other than hacking the source code, is there any way to restrict
> access through ssh to some specified user (for instance, moi)?
>
> TIA,
>
> -Ramon
>
Read the first hit from google for
"ssh restrict users"
http://aplawrence.com/SCOFAQ/FAQ_scotec4sshdusers.html
-- |
|
| Back to top |
|
 |  |
External

Since: Jul 06, 2007 Posts: 5
|
(Msg. 6) Posted: Fri Jul 06, 2007 11:30 am
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On May 27, 7:22 pm, Ramon F Herrera <r... RemoveThis @conexus.net> wrote:
> Other than hacking the source code, is there any way to restrict
> access through ssh to some specified user (for instance, moi)?
>
> TIA,
>
> -Ramon
Set the shell in the /etc/passwd file to be /bin/false
FTP login should still work but you should verify.
mike RemoveThis @surgeontech.com |
|
| Back to top |
|
 |  |
External

Since: Nov 09, 2006 Posts: 8
|
(Msg. 7) Posted: Sat Jul 07, 2007 2:54 pm
Post subject: Re: Would like to restrict ssh access to specific users [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Fri, 06 Jul 2007 16:30:09 -0700, "mike wrote:
> On May 27, 7:22 pm, Ramon F Herrera <r....RemoveThis@conexus.net> wrote:
>> Other than hacking the source code, is there any way to restrict
>> access through ssh to some specified user (for instance, moi)?
>>
>> TIA,
>>
>> -Ramon
>
> Set the shell in the /etc/passwd file to be /bin/false
> FTP login should still work but you should verify.
>
> mike.RemoveThis@surgeontech.com
Or you could just allow selected users...
SSHD_CONFIG(5) BSD File Formats Manual SSHD_CONFIG(5)
NAME
sshd_config - OpenSSH SSH daemon configuration file
SYNOPSIS
/etc/ssh/sshd_config
DESCRIPTION
[...]
AllowUsers
This keyword can be followed by a list of user name patterns, separated by
spaces. If specified, login is allowed only for user names that match one of
the patterns. '*' and '?' can be used as wildcards in the patterns. Only
user names are valid; a numerical user ID is not recognized. By default,
login is allowed for all users. If the pattern takes the form USER@HOST then
USER and HOST are separately checked, restricting logins to particular users
from particular hosts. |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|