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?)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
ssh is installed and running. this is the error i get when trying to ssh into my server
“ssh: connect to host 178.128.82.156 port 22: Connection refused”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.