I was trying to stop ssh from terminating after 10 minutes.
I followed an instruction here saying to modify a config file and restart the service with:
sudo launchctl stop com.openssh.sshd
Now ssh [email protected]
just hangs.
I've reverted the config file and rebooted the machine but it still hangs.
How to fix?
PS sudo launchctl start com.openssh.sshd
+ another reboot also fails.
[pi@pis-iMac] ~
> launchctl list | grep ssh
- 0 com.openssh.ssh-agent
ps aux | grep ssh
isn't reporting anything either. Do I need another reboot? – P i May 25 '17 at 08:35