SFTP - solely private key usage


Author
Message
MattG42
MattG42
New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)
Group: Forum Members
Posts: 5, Visits: 16
Hi!
I am in the trial phase for logview plus, and quite impressed, nice product.

What I am try to accomplish is a remote access via sftp to linux-machines only based on keys.
In our company we are not alloewd to use "username/password" combinations, only username/sshkey
I put my private-key in to the "Advanced SFTP"-Formular, also the password of the key. In the "Basic"-Formular, naturally Server Name, Port and User Name.
Password empty, because there is no password on that destination-machine at all. hit the Test-Button and getting a 
"Unable to connect" and the description (I translate it from German) "This Value is not allowed to be NULL - Parametername: password" If I put something random or the Key-Password in in I get "A supplied password or username is incorrect"
Yes true, because there is no password.

It seems to me, that LogView does not honor the inserted Key and tryes still to connect via username/password.
Because if I have a view into the log of the sshd on that machine I see a try for password-login not a Key-Communication
2023-03-22T07:52:41+01:00 xxx.xxx.xxx sshd[4342]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=yyy.xxx.xxx user=abcdefg
2023-03-22T07:52:44+01:00 xxx.xxx.xxx sshd[4342]: Failed password for abcdefg from 9.8.7.6 port 56806 ssh2

Did I missed something?
Any clues are welcome.

Cheers from Germany
Matthias Gruber

LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.2K, Visits: 4.3K
Hi Matthias,

Thanks for reporting this issue. 

We actually had a similar issue reported last month which was resolved in a BETA release, so my first suggestion would be to make sure you are running the latest BETA release (v3.0.14).

If that does not resolve this issue, the transfer logs may contain more detail on the underlying problem. You can access the file via the File Transfers context menu:



Hope that helps,

Toby


MattG42
MattG42
New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)
Group: Forum Members
Posts: 5, Visits: 16
Hi Toby,
"naturally" I didnt start my try with a beta-Version ;-)
I will install the mentioned tomorrow (german time) and post the results.

thanks for the fast reply

cheers
Matthias


MattG42
MattG42
New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)New Member (45 reputation)
Group: Forum Members
Posts: 5, Visits: 16
Hi!
That did it, can also approve that it is working as expected, with 3.0.14

Thanks + cheers
Matthias

LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.2K, Visits: 4.3K
Glad to hear it Matthias - thanks for letting me know!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Login

Explore
Messages
Mentions
Search