-
Senior Member
registered user
--On the server, edit /etc/ssh/sshd_config and look around for MaxStartups - if it exists, change the value to 30 or so:
Code:
MaxStartups
Specifies the maximum number of concurrent unauthenticated con-
nections to the sshd daemon. Additional connections will be
dropped until authentication succeeds or the LoginGraceTime
expires for a connection. The default is 10.
Alternatively, random early drop can be enabled by specifying the
three colon separated values ``start:rate:full'' (e.g.,
"10:30:60"). sshd will refuse connection attempts with a proba-
bility of ``rate/100'' (30%) if there are currently ``start''
(10) unauthenticated connections. The probability increases lin-
early and all connection attempts are refused if the number of
unauthenticated connections reaches ``full'' (60).
--I also recommend setting:
PermitRootLogin no
--This will not allow root to login directly, a regular user has to login and ' su ' to gain root access.
--Dunno for sure if that will fix the problem, but it's a start. Also make sure everyone is doing the ' /etc/init.d/ssh start ' and can ping the server before trying to connect. In addition, for the ones that are having trouble connecting, you can add a ' -v ' to the ssh command args and debug the connection attempt.
--You will also have to do /etc/init.d/ssh restart (bounce ssh) after saving the file.
--Some suggestions:
o Always use protocol 2 with ssh clients: ' -2 ' with ssh
o Always use ' -c blowfish ' for fastest connections
--Here's my /etc/dhcp3/dhcpd.conf:
Code:
# 2003.0921
# For win98?
option domain-name "waldoseries.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 5000;
max-lease-time 18000;
authoritative;
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.50 10.0.0.55;
}
--Also ' ln /etc/dhcp3/dhcpd.conf /etc/dhcpd.conf -sfn ' for easy editing. You will probably also have to edit /etc/default/dhcp3-server and add "eth0" to interfaces (INTERFACES="eth0").
--Note that the leases file is located at /var/lib/dhcpd3/dhcpd.leases. Lease times are in seconds. Don't forget to issue ' /etc/init.d/dhcp3-server start ' on the server.
--If your campus network already has a DHCP server, talk to your admin before doing this! Putting a dhcp server up should only be done on a network that absolutely does not go outside your classroom. (This dhcp conf is on my laptop, for backing up client machines. I haven't used it on any more than 2-3 machines at once.) You may actually be able to get around any restrictions by physically unplugging any ethernet cable that goes outside what you want your local LAN to be.
--This setup should be considered experimental until proven workable - I don't know what effect dynamic IP addresses will have on the sshd server, but since you're booting from CD anyway it shouldn't be a problem (I hope.) Lemme know how it goes.
--Oh, and when you get everything up and running the way you want it, don't forget to backup the server. 

Originally Posted by
A. Jorge Garcia
OK, you use pump for this. Well, I'd be interested in your dhcp.conf file. This would run on the server, right?
I don't know if this ssh/fish stuff is all its cracked-up to be. I don't know why, but only 10 of my 24 clients can get this working! Maybe I'll just setup ftp services.
TIA,
Similar Threads
-
By cjackson0 in forum MS Windows & New to Linux
Replies: 7
Last Post: 12-16-2004, 04:42 AM
-
By paradox87 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-16-2004, 11:38 PM
-
By Not_Public in forum General Support
Replies: 0
Last Post: 09-21-2003, 11:34 PM
-
By garyng in forum General Support
Replies: 1
Last Post: 09-10-2003, 04:55 PM
-
By Xam_nl in forum General Support
Replies: 7
Last Post: 06-23-2003, 08:17 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

MICRON MTA36ASF4G72PZ-2G6D1 32GB PC4-21300R DDR4-2666V RDIMM 2RX4 MEMORY DIMM
$139.99

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

16GB SK HYNIX HMAA2GU6CJR8N-XN PC4-3200AA-UA3-13 DIMM DESKTOP TESTED LOT OF 3
$209.00

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.55

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$289.80