Ubuntu 20.04 LTS
I’m trying to connect my computer to my droplet via SSH but not able to
OpenSSH is set up, I’m able to connect via SFTP (FileZilla) just fine, I’ve added my public key to the authorized key file directly on the DO console, and am now trying to connect via terminal log in.
Here is the sshd_config file from terminal and DO console all have PermitRootLogIn and Password Authentification set to yes
I tried restarting sshd from terminal and DO console using “sudo systemctl restart sshd” and got the following errors
terminal “System has not been booted with systemd as init system (PID 1). Can’t operate. Failed to connect to bus: Host is down”
debug “sudo sshd -vvf /etc/ssh/sshd_config unknown option – v OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar 2020 usage: sshd [-46DdeiqTt] [-C connection_spec] [-c host_cert_file] [-E log_file] [-f config_file] [-g login_grace_time] [-h host_key_file] [-o option] [-p port] [-u len]”
DO console “Job for ssh.service failed because the control process exited with error code.”
systemctl status ssh.service Active: failed (Result: exit-code) Process: (code = exited, status = 255)
Failed to start OpenBSD Secure Shell serv
(sidenote: anyone have advice on how to copy from the DO console?)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!