Results 1 to 2 of 2

Thread: connection issue filezilla-ssh

  1. #1

    Default connection issue filezilla-ssh

    Hi again
    I am trying to connect to my Leap 42.2 machine using filezilla from a opensuse 13.2 machine using filezilla I get a "Connection Refused". On the Leap 42 machine I checked the logs using journalctl -j and this is the message:

    Code:
    Permission 640 for '/etc/ssh/ssh_host_xxxxx_key' are to open. It is required that your private key file are NOT accessible by others. This private key will be ignored. key-xxx-private bad permissions could not load host key:/etc/ssh/ssh_host_xxxxx_key' kex protocol error type 30 seq 1 [preauth]
    As always, your help is very much appreciated

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: connection issue filezilla-ssh

    Well, the message says that the permissions on /etc/ssh/ssh_host_xxxxx_key are wrong (it should have read access for the owner only). And the message also says the are 640, which is read rw-r----- and thus read access for the owner and the group Thus the first thing is to check is those permissions are read;y so:
    Code:
    ls -l /etc/ssh/ssh_host_xxxxx_key
    And when yes to remove the r bit from the group permissions.
    Last edited by hcvv; 10-Oct-2017 at 00:43.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •