[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issues with SSH pubkey authentication at remote server



On 09/26/2016 01:18 PM, Stephan Beck wrote:
> ...
> Before establishing connection for the first time I did
> 
> eval $(ssh-agent)
> PID xxxx
> ssh-add ~/.ssh/id_rsa
> 
> But it seems that the ssh-agent does not really authenticates to the
> remote server and as a fallback password auth is selected. (I anonymized
> the output below.) So, pubkey authentication is not working :-(

Are you running the SSH client in the same shell as you have run eval?
Also, the desktop environment is often set up so that it is launched
under an agent already.  So how many agents do you have running?

	pgrep -lf ssh-agent

Regards,
Lars


Reply to: