

Unit ssh.service has begun starting up.įeb 18 21:42:36 joeslinux sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.įeb 18 21:42:36 joeslinux sshd: error: Bind to port 22 on :: failed: Address already in use.įeb 18 21:42:36 joeslinux sshd: fatal: Cannot bind any address.įeb 18 21:42:36 joeslinux systemd: ssh.service: Main process exited, code=exited, status=255/n/aįeb 18 21:42:36 joeslinux systemd: Failed to start OpenBSD Secure Shell server.įeb 18 21:42:36 joeslinux systemd: ssh.service: Unit entered failed state.įeb 18 21:42:36 joeslinux systemd: ssh.service: Failed with result 'exit-code'.įeb 18 21:42:36 joeslinux sudo: pam_unix(sudo:session): session closed for user root

Subject: Unit ssh.service has begun start-up Unit ssh.service has finished shutting down.įeb 18 21:42:36 joeslinux systemd: Starting OpenBSD Secure Shell server. Subject: Unit ssh.service has finished shutting down Here is output of journalctl -xe journalctl -xeįeb 18 21:42:34 joeslinux start-mining-monero-minergate-cpu.sh: Diff: 8782 CPU/GPU: 953.8 H/sįeb 18 21:42:35 joeslinux start-mining-monero-minergate-cpu.sh: Diff: 8782 CPU/GPU: 964.0 H/sįeb 18 21:42:36 joeslinux sudo: joe : TTY=pts/6 PWD=/home/joe USER=root COMMAND=/usr/sbin/service ssh restartįeb 18 21:42:36 joeslinux sudo: pam_unix(sudo:session): session opened for user root by (uid=0)įeb 18 21:42:36 joeslinux systemd: Stopped OpenBSD Secure Shell server. Thanks, Andrew Dunn, but I researched that answer and solution didn't work work me.
SECURE SHELL LINUX INSTALL
They are now causing things like apt install to fail. In addition to all that, I also have /etc/systemd/system/rvice, which is a link to /lib/systemd/system/ssh.serviceĬonditionPathExists=!/etc/ssh/sshd_not_to_be_run Which appears to be the Ubuntu provided shell script I don't know if this helps, but I have in /etc/init.d the following 2 scripts. When I check the status of my ssh server, sudo service ssh statusĪctive: failed (Result: exit-code) since Mon 14:10:23 EST 2min 37s ago
SECURE SHELL LINUX CODE
Subprocess installed post-installation script returned error exit status 1Įrrors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) Jan 28 14:10:23 joeslinux systemd: ssh.service: Failed with result 'exit-code'.ĭpkg: error processing package openssh-server (-configure): Jan 28 14:10:23 joeslinux systemd: ssh.service: Unit entered failed state. Jan 28 14:10:23 joeslinux systemd: Failed to start OpenBSD Secure Shell server. Jan 28 14:10:23 joeslinux systemd: ssh.service: Main process exited, code=exited, status=255/n/a Jan 28 14:10:23 joeslinux systemd: Starting OpenBSD Secure Shell server. Process: 79038 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS) Process: 79047 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255) Loaded: loaded (/lib/systemd/system/ssh.service enabled vendor preset: enabled)Īctive: failed (Result: exit-code) since Mon 14:10:23 EST 6ms ago
