Computing.Net > Forums > Unix > limit ssh

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

limit ssh

Reply to Message Icon

Name: d3
Date: January 19, 2003 at 15:29:43 Pacific
OS: macOSX
CPU/Ram: 1000mhz
Comment:

1) How can allow a signle user FTP access but
not ssh access?

2) Can i have a list of allowable or non-allowable
IP's that users can ssh from? (same as you do for
websites?)



Sponsored Link
Ads by Google

Response Number 1
Name: goth
Date: February 10, 2003 at 00:44:47 Pacific
Reply:

i guess you need to setup your firewall, just make ACL ALLOW for 22(ssh) port from certain ip, and DENY from all. the same works for 21(ftp) port.

also you could check SSH daemon settings. my freebsd have sth like /etc/ssh/sshd_config file. i've just put "AllowUsers nickname1 nickname2" into ...


0

Response Number 2
Name: d3
Date: February 23, 2003 at 15:47:33 Pacific
Reply:

Thanks, for the help

i already did it by adding to my /etc/shells file the
line /usr/bin/true and then set the default shell for
that user to the new shell.

This way as soon as they log on they are kicked
off.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Find, copy and move into ... daylight on earth



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: limit ssh

limitation size of filesystems www.computing.net/answers/unix/limitation-size-of-filesystems/3236.html

SSH and remote execution www.computing.net/answers/unix/ssh-and-remote-execution/4627.html

SSH in Mac OS X www.computing.net/answers/unix/ssh-in-mac-os-x/4880.html