Bug 1207742 - [midnight commander] mc requires password even for ssh sites which have pubkey defined in ~/.ssh/config aliases
Summary: [midnight commander] mc requires password even for ssh sites which have pubke...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adam Majer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 08:45 UTC by Matej Cepl
Modified: 2023-01-30 08:45 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Cepl 2023-01-30 08:45:16 UTC
I have in ~/.ssh/config this alias:

    Host fedorapeople fedorapeople.org 
        User mcepl
        Hostname fedorapeople.org
        ProxyCommand none
        ForwardAgent no
        ForwardX11 no
        ForwardX11Trusted no
        Port 22
        KeepAlive yes
        HashKnownHosts no
        GSSAPIAuthentication no
        VerifyHostKeyDNS yes
        IdentityFile ~/.ssh/id_fedora_rsa

Works perfectly fine with the plain ssh:

    stitny~$ ssh fedorapeople.org ls -l
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    X11 forwarding request failed on channel 0
    celkem 17352
    drwxrwxr-x. 5 mcepl mcepl       82 11. říj 20.27 public_git
    -rw-rw-r--. 1 mcepl mcepl 17763864 19. čec  2012 public_git.tar.bz2
    drwxrwxr-x. 8 mcepl mcepl     4096  9. srp  2018 public_html
    drwxrwxr-x. 2 mcepl mcepl        6 23. čen  2012 public_repos
    stitny~$ ssh fedorapeople.org id
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    X11 forwarding request failed on channel 0
    uid=1494200431(mcepl) gid=1494200431(mcepl) skupiny=1494200431(mcepl),1494357691(signed_fpca),1494357692(fedora-contributor),1494357860(fedorabugs),1494357925(gitbugzilla-triage-scripts),1494358200(gitjson_diff),1494358540(gittriage),1494358698(packager),1494358938(triagers) kontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
    stitny~$ 

However, when I try to switch (Alt+C) to sftp://fedorapeople.org I get an input box asking for the password (which doesn’t exist).