Author Topic: SFTP with key not working  (Read 2706 times)

adjustMan

  • Jr. Member
  • **
  • Posts: 7
SFTP with key not working
« on: December 17, 2014, 02:23:20 PM »
Hello, I try to create SFTP with keys. Into the field username I input my name, the PW remain empty.
And then from the folder .ssh “authorized_keys”. But the connection is not made. I see in the log
Code: [Select]
… …
Dec 17 14:28:05 server2 sshd[27691]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=p579e2494.dip0.t-ipconnect.de  user=root
… …

what's wrong? My fault? Any ideas or solution greatly appreciated. Thanks

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2844
Re: SFTP with key not working
« Reply #1 on: December 17, 2014, 03:11:27 PM »
Without seeing your Yummy FTP Bookmark details window it's not possible to say for sure. It looks like you're trying to login as root? If you want to send your details, maybe better via email ;)

support@yummysoftware.com

adjustMan

  • Jr. Member
  • **
  • Posts: 7
Re: SFTP with key not working
« Reply #2 on: December 17, 2014, 11:36:53 PM »
… It looks like you're trying to login as root? …
yes, it's my own server. And root account is not denied. Before, only with password, the SFTP functioned without problems.
And yes, I will write a eMail ;)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2844
Re: SFTP with key not working
« Reply #3 on: December 18, 2014, 08:40:42 AM »
Got your email and replied. Now I can see the Yummy settings, it's very clear ;)

For anyone else reading, make sure you select your private ssh key file for the SSH Key setting - no other file will work.