Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

ssh to Debian 11 starts and stops

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
icebowl
Posts: 5
Joined: 2022-01-14 18:19

ssh to Debian 11 starts and stops

#1 Post by icebowl »

We are running a headless Debian server with ssh (default settings) enabled.
We are using the server to scp data with a key login
There are 40 users located on a separate drive /z/users/ (/dev/sda/)
We have two users on the OS drive. /dev/nvme0n1 m.2

We can ssh and scp if we reboot but after a few hours we are locked out of ssh and scp until we reboot.

we have the same problem with the /dev/sda and /dev/nvme0n1

ip is static:
more interfaces
auto enp6s0
iface enp6s0 inet static
address 10.183.1.42
netmask 255.255.0.0
gateway 10.183.0.1

Linux 42 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Lin


Please throw me a bone.

User avatar
Northpoint
Posts: 88
Joined: 2020-12-19 10:51
Location: USA
Has thanked: 48 times
Been thanked: 13 times

Re: ssh to Debian 11 starts and stops

#2 Post by Northpoint »

Power saving mode???
When it quits, I would try pinging the server to see if it responds. I would also run nmap on it and see if ssh port is still there.
Get your linux on.

icebowl
Posts: 5
Joined: 2022-01-14 18:19

Re: ssh to Debian 11 starts and stops

#3 Post by icebowl »

thanks.
The machine is headless with no gui. I do have a monitor attached now due to out problem.
We can ping the machine but can not ssh into the machine.

User avatar
argentwolf
Posts: 201
Joined: 2021-09-05 23:21
Has thanked: 185 times
Been thanked: 15 times

Re: ssh to Debian 11 starts and stops

#4 Post by argentwolf »

Are you running firewall software on the machine?
Vanguard Debian, because nothing's worse than doing nothing, whimsically!
32-bit | 2 Duo T5270 @ 1.40GHz x 2 CPU | 3.9GiB RAM | NV86 117MiB GPU | 465.76GiB SSD
64-bit | i7-4790 @ 3.60GHz x 8 CPU | 15.6GiB RAM | NVD9 1.9GiB GPU | 931.51GiB SSD

icebowl
Posts: 5
Joined: 2022-01-14 18:19

Re: ssh to Debian 11 starts and stops

#5 Post by icebowl »

"Are you running firewall software on the machine?"

No. If I reboot the machine we can ssh fine.
Thanks for the line.

reinob
Posts: 1189
Joined: 2014-06-30 11:42
Has thanked: 97 times
Been thanked: 45 times

Re: ssh to Debian 11 starts and stops

#6 Post by reinob »

The first place to look at would be the sshd log (journalctl -u ssh).

icebowl
Posts: 5
Joined: 2022-01-14 18:19

Re: ssh to Debian 11 starts and stops

#7 Post by icebowl »

Solved:
Someone set a similar static ip :(

Post Reply