Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • Thanks, got that fixed. However, it still doesn't seem to work. I've copied the id_rsa.pub file from my main user to the authorized_keys2 file in the /sftp/sftpuser/incoming/.ssh directory. When I try to connect through sftp it says "Connection reset by peer". Commented Jul 4, 2013 at 19:38
  • authorized_keys2 shouldn't be used since it was deprecated twelve years ago. All keys should go into the authorized_keys file. Commented Jul 4, 2013 at 20:03
  • @sj755 What does the sshd log say? Commented Jul 4, 2013 at 20:29
  • @j883376 Changed the filename. Doesn't seem to work. Commented Jul 4, 2013 at 20:49
  • @HaukeLaging /var/log/secure doesn't seem to mention anything about my attempted logins. All it mentions are my logins to root and me catting the /var/log/secure file itself. Commented Jul 4, 2013 at 20:55