I tried to connect to my VDS server via ssh from my laptop and recently it stopped working. But I could connect to it from different devices. Also I tried to connect to different server via ssh, no luck as well.
Verbose output of ssh (I masked ip and user):
ssh user@xxx.xx.xx.xxx -v
OpenSSH_9.9p1, OpenSSL 3.2.4 11 Feb 2025
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to xxx.xx.xx.xxx [xxx.xx.xx.xxx] port 22.
What I’ve tried:
- restarting sshd on server
- checking /etc/host.block & /etc/host.allow - no restrictions found
- checking wirewall on laptop:
sudo firewall-cmd --list-all
Place your right index finger on the fingerprint reader
public (default, active)
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces: wlp0s20f3
sources:
services: dhcpv6-client mdns ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
- Reinstalling openssh-clients package
- Deleting ~/.ssh directoty
Assuming that I could connect to server via ssh on different device, I think it’s something with my ssh client on laptop, but I can’t figure it out. Could someone help me?