This forum has been archived. All content is frozen. Please use KDE Discuss instead.

SSH permission error.

Tags: None
(comma "," separated)
tjhawken
Registered Member
Posts
3
Karma
0
OS

SSH permission error.

Fri Jun 17, 2022 11:14 am
Hello,

I'm getting a 'Permission denied, please try again.' error at the password stage when attempting to SSH using
Code: Select all
ssh <hostname>@<IP address>
This is after getting the authenticity host message on first connection, typing 'yes' etc. I've tested that it isn't simply the wrong password by manually logging in using the same password. I've confirmed that both computers are on the same network and I can query
Code: Select all
hostname -I
successfully on both computers.

Can anyone suggest how I might proceed from here to track down the issue?

Many thanks in advance,

Tim
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: SSH permission error.

Fri Jun 17, 2022 2:31 pm
Hi!

Is <hostname>@<IP address> a typo? Normally you need the username, not hostname.

To get more information start using the verbose command
Code: Select all
ssh -vvvvv user@host.tld


Does the host listen on external ip addresses? Check /etc/ssh/sshd_config.
jameswalter
Registered Member
Posts
5
Karma
0

Re: SSH permission error.

Sat Jul 09, 2022 6:55 am
Let me help you with this.

Run ssh -vvv user@your .vps .ip for more info
You can save a lot of time by determining why you can't connect before you proceed. The following command will show you exactly what SSH is doing when you initiate a connection with your VPS server:

ssh -vvv root@your .vps .ip

Naturally, you should replace your.vps.ip with the relevant IP address, which can be found in your control panel. Note down any output.


Cheers.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]