Bug 287128 - "New tab" with 'ssh -l somebody somewere' don't use current ssh key.
Summary: "New tab" with 'ssh -l somebody somewere' don't use current ssh key.
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.7.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 05:01 UTC by SinClaus
Modified: 2012-02-05 20:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SinClaus 2011-11-21 05:01:47 UTC
Version:           2.7.3 (using KDE 4.7.3) 
OS:                Linux

"New tab" with 'ssh -l somebody somewere' don't use current ssh key.

Reproducible: Always

Steps to Reproduce:
In the arch distribution:
1. use ssh keys, ssh-add and so on in a workstation and public key on another PC
2. try ssh -l name server (must be connection without password request).
3. Make new profile in a konsole with command 'ssh -l name server'
4. Create new tab by File/New tab/name-of the-new-profile

Actual Results:  
After some short time server ask you about password.

Expected Results:  
New tab must open connection to server with registered ssh key without password.
Comment 1 Jekyll Wu 2011-11-21 06:00:33 UTC
I failed to reproduce the reported problem. And I don't think konsole have anything to do with how the ssh private key is processed. 

What does "ssh-add -l" give when the problem happens? How is ssh-agent configured to run in ~/.bash_profile or something similar?

Or, maybe I have misunderstood the problem :) If so, could you descible the problem more verbosely?
Comment 2 SinClaus 2011-11-21 07:39:05 UTC
Where did you read about "ssh-add -l"? What did you try to reproduce?
Do you know how to make the ssh key and use it for access to remote servers?
Please read here http://linuxproblem.org/art_9.html

Repeating problem:
I can connect without password from any command line, and from konsole too, but can't if I try to write this command in a profile command line. Server ask password from my in a second case.
Comment 3 Jekyll Wu 2011-11-21 08:43:00 UTC
(In reply to comment #2)
> Where did you read about "ssh-add -l"? What did you try to reproduce?
> Do you know how to make the ssh key and use it for access to remote servers?
> Please read here http://linuxproblem.org/art_9.html
> 
> Repeating problem:
> I can connect without password from any command line, and from konsole too, but
> can't if I try to write this command in a profile command line. Server ask
> password from my in a second case.

Well, I did misunderstand the problem a bit. I thought the problem was the passphrase of the private key was asked for, while the actual problem seems that the password of remote account is asked for. Right?  

I just tried it again as described in that comment using a new account. Still, I failed to reproduce the reported problem.

A little off topic. Do you use private key which is not protected by passphrase? That is not a good idea, IMHO.
Comment 4 SinClaus 2011-11-21 09:03:11 UTC
My private key is protected by password, it's asked one time by x11-ssh-askpass.

Did you read description on the bug or try find something to joy?

1. I HAVE LOADED PRIVATE KEY.
2. I DON'T HAVE PROBLEM WITH CONNECTION FROM THE COMMAND LINE.
3. BUT!!! IF I MAKE PROFILE IN A KONSOLE PROGRAM WITH SS CONNECTION STRING, SERVER DON'T SENSE MY SSH KEY AND ASK PASSWORD!!!

If you can't understand problem, let I'll write in russian, my native language, OK?
Comment 5 Jekyll Wu 2011-11-21 10:58:08 UTC
(In reply to comment #4)

Shouting and sarcasm do not make any help. It only makes the situation worse, especially for those suffering from this problem.

I'm asking only because :

1). The problem does not happen to me
2). I would like it to be fixed, if it does exist and is caused by Konsole.

Since you are angry, I will stop spending more time on investigating this problem. Anyway, I am not the guy suffering from it. There are still enough Konsole bugs which do exist and annoy me. I prefer to spend time on them.

Still, please provide more information if you want to this get fixed. That might help other developers to find where the real problem is.
Comment 6 Jekyll Wu 2012-02-05 20:00:06 UTC
Two months passed and no new information. Close it as 'WORKSFORME'.