<abandoned help request> Remote SSH has been destroyed ("Connection refused")

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bkorb

<abandoned help request> Remote SSH has been destroyed ("Connection refused")

Post by bkorb »

It all used to work, but not anymore. "ssh localhost" does, but not from my mac.

I take it nobody in Linux-Mint land has any idea about what to do. :-(

At least my desktop is now stable -- I threw out the noveau Nvidia driver. Consequently, the desktop is now stable, so I don't need ssh to kill and restart KDE anymore.

Code: Select all

# grep -Ev $'^[ \t]*($|#)' hosts.{allow,deny}
hosts.allow:ALL: 172.16.16.*
# ps -f -C sshd
UID        PID  PPID  C STIME TTY          TIME CMD
root      4583     1  0 14:26 ?        00:00:00 /usr/sbin/sshd -D
# ufw status
Status: inactive
It used to work, but after an "upgrade" ssh usability has been diminished. My router disables all incoming connections, so I leave my firewall disabled. Still, on my client machine:

Code: Select all

$ ssh -vvvv me@bach
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /Users/me/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to bach port 22.
ssh: connect to host bach port 22: Connection refused
Googling "needpriv 0" mostly yielded "you need to have sshd running" -- its running as PID 4583

Help, please?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”