SFTP over Midnight Commander still asks for a password2019 Community Moderator ElectionPublic-Key Authentication w/ Jailed SFTP UserSSH asks password when outside .ssh/ but not when inside .ssh/Restrict password-less backup with SFTPCan use Password authentication with SFTP even though “PasswordAuthentication no” in /etc/ssh/sshd_configLogging in through ssh tunnel with rsa key still giving password promptssh public key auth: first login still asks for a passwordSetup SSH public key for login without passwordWhy is my SSH session prompting for password for one host only?Midnight Commander: sftp connection using aliases from ssh configPasswordless ssh still asks for password when running as subprocess

How can "mimic phobia" be cured or prevented?

Removing files under particular conditions (number of files, file age)

Is there a working SACD iso player for Ubuntu?

Start making guitar arrangements

Store Credit Card Information in Password Manager?

Aragorn's "guise" in the Orthanc Stone

What is this cable/device?

On a tidally locked planet, would time be quantized?

Which one is correct as adjective “protruding” or “protruded”?

What should you do if you miss a job interview (deliberately)?

Is this toilet slogan correct usage of the English language?

Creepy dinosaur pc game identification

Has any country ever had 2 former presidents in jail simultaneously?

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

What does chmod -u do?

What should you do when eye contact makes your subordinate uncomfortable?

How should I respond when I lied about my education and the company finds out through background check?

How do I find all files that end with a dot

"Spoil" vs "Ruin"

Is it safe to use olive oil to clean the ear wax?

Why should universal income be universal?

Why did the Mercure fail?

Is it possible to put a rectangle as background in the author section?

How to indicate a cut out for a product window



SFTP over Midnight Commander still asks for a password



2019 Community Moderator ElectionPublic-Key Authentication w/ Jailed SFTP UserSSH asks password when outside .ssh/ but not when inside .ssh/Restrict password-less backup with SFTPCan use Password authentication with SFTP even though “PasswordAuthentication no” in /etc/ssh/sshd_configLogging in through ssh tunnel with rsa key still giving password promptssh public key auth: first login still asks for a passwordSetup SSH public key for login without passwordWhy is my SSH session prompting for password for one host only?Midnight Commander: sftp connection using aliases from ssh configPasswordless ssh still asks for password when running as subprocess










0















In linux command line, when I connect to sftp or ssh this, it connects using my public keys and doesn't ask me for a password.



sftp user@host


It also works when I do



ssh user@host


But somehow when I do an SFTP link through MC, it keeps prompting me for a password.



Does MC not use the SSH public key to connect password-less? Or is there a way to manually allow MC to use the public key authentication?










share|improve this question







New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

    – ceving
    yesterday















0















In linux command line, when I connect to sftp or ssh this, it connects using my public keys and doesn't ask me for a password.



sftp user@host


It also works when I do



ssh user@host


But somehow when I do an SFTP link through MC, it keeps prompting me for a password.



Does MC not use the SSH public key to connect password-less? Or is there a way to manually allow MC to use the public key authentication?










share|improve this question







New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

    – ceving
    yesterday













0












0








0








In linux command line, when I connect to sftp or ssh this, it connects using my public keys and doesn't ask me for a password.



sftp user@host


It also works when I do



ssh user@host


But somehow when I do an SFTP link through MC, it keeps prompting me for a password.



Does MC not use the SSH public key to connect password-less? Or is there a way to manually allow MC to use the public key authentication?










share|improve this question







New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












In linux command line, when I connect to sftp or ssh this, it connects using my public keys and doesn't ask me for a password.



sftp user@host


It also works when I do



ssh user@host


But somehow when I do an SFTP link through MC, it keeps prompting me for a password.



Does MC not use the SSH public key to connect password-less? Or is there a way to manually allow MC to use the public key authentication?







ssh sftp key-authentication mc






share|improve this question







New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









saucemarocainsaucemarocain

1




1




New contributor




saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






saucemarocain is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

    – ceving
    yesterday

















  • Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

    – ceving
    yesterday
















Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

– ceving
yesterday





Try to log out of your workstation and log in again. Maybe it is a ssh-agent problem.

– ceving
yesterday










1 Answer
1






active

oldest

votes


















0














You have put the host in your ~/.ssh/config file:



Host your.host.name.or.ip
User your.remote.username
IdentityFile /path/to/your/keyfile





share|improve this answer








New contributor




Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    saucemarocain is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508015%2fsftp-over-midnight-commander-still-asks-for-a-password%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You have put the host in your ~/.ssh/config file:



    Host your.host.name.or.ip
    User your.remote.username
    IdentityFile /path/to/your/keyfile





    share|improve this answer








    New contributor




    Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      You have put the host in your ~/.ssh/config file:



      Host your.host.name.or.ip
      User your.remote.username
      IdentityFile /path/to/your/keyfile





      share|improve this answer








      New contributor




      Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        You have put the host in your ~/.ssh/config file:



        Host your.host.name.or.ip
        User your.remote.username
        IdentityFile /path/to/your/keyfile





        share|improve this answer








        New contributor




        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        You have put the host in your ~/.ssh/config file:



        Host your.host.name.or.ip
        User your.remote.username
        IdentityFile /path/to/your/keyfile






        share|improve this answer








        New contributor




        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        Entropy0Entropy0

        1012




        1012




        New contributor




        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Entropy0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















            saucemarocain is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            saucemarocain is a new contributor. Be nice, and check out our Code of Conduct.












            saucemarocain is a new contributor. Be nice, and check out our Code of Conduct.











            saucemarocain is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508015%2fsftp-over-midnight-commander-still-asks-for-a-password%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.