[Bug 252814] New: kio_sftp uses a wrong login: seems like it ignores 'user@' syntax

o_O_Tync ootync at gmail.com
Thu Sep 30 00:22:30 BST 2010


https://bugs.kde.org/show_bug.cgi?id=252814

           Summary: kio_sftp uses a wrong login: seems like it ignores
                    'user@' syntax
           Product: kde
           Version: 4.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: ootync at gmail.com


Version:           4.5 (using KDE 4.5.1) 
OS:                Linux

Recently kio_sftp started to use the wrong login.
I have a host with several accounts, all are set to use pubkey auth from my
host.
I've created a shortcut name in ~/.ssh/config file:

Host example
        Hostname                        1.2.3.4
        User                            ootync

Now, when opening 'sftp://example/' and 'sftp://other@example/' in Konqueror
(as well as in Dolphin) — I'm always logged in as 'ootync':

Sep 30 03:19:00 medikafarm sshd[22781]: Accepted publickey for ootync from
85.141.168.83 port 22210 ssh2
Sep 30 03:19:00 medikafarm sshd[22783]: subsystem request for sftp

Reproducible: Always

Steps to Reproduce:
1. Choose some host with SSH
2. Setup pubkeys auth for SEVERAL logins with ssh-copy-id. E.g. 'ootync' and
'another'
3. Add this to ~/.ssh/config:
Host example
        Hostname                        1.2.3.4
        User                            ootync

4. Try to open 'sftp://another@example/'

Actual Results:  
Log: Accepted publickey for ootync from 85.141.168.83 port 22210 ssh2

Expected Results:  
Log: Accepted publickey for another from 85.141.168.83 port 22210 ssh2

This started to happen recently. The server was not re-configured: the problem
is on my site for sure

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list