Я прочитал все посты и сделал все упомянутое до сих пор моя проблема не решена. s sh localhost не работает в моей книге ma c. Ниже приведен вывод s sh -vvv localhost.
OpenSSH_7.8p1, LibreSSL 2.6.2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: Connecting to localhost port 22.
debug1: Connection established.
debug1: identity file /Users/sandeep.rawat/.ssh/id_dsa type -1
debug1: identity file /Users/sandeep.rawat/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.8
ssh_exchange_identification: read: Connection reset by peer