LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-01-2009, 11:57 AM   #1
breaktime123
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
SFTP max concurrent connection


Hi All,

I want to limit the number of simultaneous sftp connections to my RedHat 4 server. I believe OpenSSH had no options to set this limit.

Please give some directions how to accomplish this.

1/ Max sftp concurrent connections is 10
2/ The server will reject the 11th sftp connection, then send the message to client "SFTP server too busy - Please try again later"

Thank you !

bt
 
Old 02-01-2009, 01:46 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by breaktime123 View Post
Max sftp concurrent connections is 10
"iptables -m limit" with a burst of say 10?


Quote:
Originally Posted by breaktime123 View Post
The server will reject the 11th sftp connection, then send the message to client "SFTP server too busy - Please try again later"
As far as I know you can't barge into client - server conversations like that. And please don't crosspost threads.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP max connection breaktime123 Red Hat 1 02-01-2009 12:20 PM
Mysql giving max connection errors, server has no connection limit. Jukas Linux - Server 1 03-26-2008 04:06 AM
How to prevent concurrent user connection accessing squid proxy? suhas! Linux - Server 1 07-12-2007 06:46 AM
What is 2.6 Kernel's max concurrent threads? meeble Slackware 6 03-18-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration