SSH connection to Ubuntu open SSH-server requires login on (physical) server via password first
This has been answered many times and is more suitable for AskUbuntu.
In short, you have encrypted home folder (even with your AuthorizedKeysFile
) and therefore the server can't authenticate you. One possibility is to move the authorized keys somewhere else (AuthorizedKeysFile /etc/ssh/%u/authorized_keys
) and decrypt your home folder upon login or just remove the encryption. Official documentation describes it well.
Password Authentication only denied OpenSS?
You can see from the debug output
debug1: Authentications that can continue: publickey,keyboard-interactive
and from the final error message
Permission denied (publickey, keyboard-interactive)
That the server is not accepting password authentication method (otherwise the word password
would've been included in the list).
If you have set PasswordAuthentication
to yes by yourself then make sure to restart the ssh service in order for the changes to take effect.
Cannot remote connected to digitalocean droplet - not permited password
Resolved.
The problem is that I created an easy password for the server.
When I did create strong password the issue not repeats.
SSH Connection refused wrong port
Specify the ssh port:
ssh -p 30 root@serverIP
Also don't move the port just because you think it's more secure. Rather disallow root login, use keyfiles instead of password an maybe run something like fail2ban if the logentries start to annoy you..
Related Topics
Significance of Address 0X8048080
Random Alphanumeric String Linux Swift 3
Sed: Find Pattern Over Two Lines, Not Replace After That Pattern
Ada Compiler Crashes with "Ada Compiler Not Installed on This System." After Downgrading Gcc Version
Bash - Concatenating Variable on to Path
How to Run Ionic in the Background
Raspberry Pi Refusing Connection to Bottle Server
How to Scale Ejabberd Server MAChine on Centos to Handle 200 K Connections
Error Cl_Device_Not_Available When Calling Clcreatecontext (Intel Core2Duo, Intel Ocl Sdk 3.0 Beta)
Why Can't Cuda's Examples Makefile Find the Cuda Libraries
How to Solve "Bash: Ls: Command Not Found"
"Echo" Output Different Answer by Sh and Bash
Hash ("#") Symbol in /Etc/Environment Causes String to Be Split
Can Someone Explain the Shell Shock Bash Code
Unix How to Block Unix/Linux 'Wall' Messaging
Pthread Condition Variables on Linux, Odd Behaviour
I'm Having Difficulty Understanding the Shellshock Vulnerability Verification