Find the answer to your Linux question:
Results 1 to 4 of 4
I am able to ftp the root of my EC2 instance of fc12 with a private key. I do not know what commands were given to fc12 to get it ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    unable to ftp fc12 with a user name and password

    I am able to ftp the root of my EC2 instance of fc12 with a private key. I do not know what commands were given to fc12 to get it to act this way but that is okay, it works for me.

    I have created accounts for my users and set a password for each of them. The problem is that I am unable to ftp fc12 with the user name and password. The error message I get says there is no supported authentication method available.

    I presume I must somehow change server security or something to allow access to users with passwords but I do not know how to do this. Can anyone help me? TIA.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    what FTP daemon are you using?

    can you post your config file ( without comments if at all possible.)
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    I did a "yum install ftp" and it installed pure-ftp.i686.0.1.0.29-2_fc12

    I have since discovered that the problem is not only with ftp but with putty as well. I think I have found 2 different ways to solve the problem. I have not tested either of them out yet..

    Solution 1 is to create ssh keys for each user and not use keyboard input passwords at all. My clients currently use Microsoft "My Network Places" which does not support ssh keys and so this approach will not work for those users.

    Solution 2 is to change the sshd_config to enable password authentication. I suspect that is a significant system change and I am afraid the consequences of making such a change without direction. I am hoping someone can help me out here.

    My objective is to enable passwords for the few users using ftp with microsoft "My Network Places". I want the rest of the users and root to rely on private keys instead of a password.

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    FTP and ssh are 2 different protocalls, they should not be related, except for sftp (ftp over an ssh tunnel basicaly.)

    For windows sharing, it would probably be better for you to look into samba shares. it is the standard method for sharing files from linux to windows.

    by default, sshd uses password authentication. It is only disabled if someone explicitly disables them, and I believe ssh keypairs are disabled by default, and only enabled if specificaly enabled (could be mistaken on this one.) I would be concerned if you re-enabled them, and are concerned for system security. If you didn't dis/enable them, someone likely did for a specific reason.

    I don't know anything about pure-ftp, so I can't help you on that one. sorry.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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