Discussion:
SSH key trouble
John Niendorf
2014-01-09 14:01:06 UTC
Permalink
Hi Everyone,

I'm running the latest stable version of lftp on a laptop running Ubuntu 12.04

My problem is I recently changed SSH keys and lftp still looks for the old key.

The key is stored in ~/.ssh
The old key was called WT
The new key is called the name of the site I connect to.

When I type lftp in the terminal I get the message that there is no such file as ~/.ssh/WT
Then I am able to connect securely using the new key.

I've tried setting which key to use in both ~/.lftp/rc and ~/lftprc but the problem persists.

I wonder why is lftp still expecting the old key? Does anyone know how I can make lftp "forget" that key?

I've looked all over for an answer but cannot find one.

Thank you,

John
Alexander Lukyanov
2014-01-18 18:06:56 UTC
Permalink
Does plain ssh try to use WT key? Try in lftp "set | grep WT".
Post by John Niendorf
Hi Everyone,
I'm running the latest stable version of lftp on a laptop running Ubuntu 12.04
My problem is I recently changed SSH keys and lftp still looks for the old key.
The key is stored in ~/.ssh
The old key was called WT
The new key is called the name of the site I connect to.
When I type lftp in the terminal I get the message that there is no such file as ~/.ssh/WT
Then I am able to connect securely using the new key.
I've tried setting which key to use in both ~/.lftp/rc and ~/lftprc but
the problem persists.
I wonder why is lftp still expecting the old key? Does anyone know how I
can make lftp "forget" that key?
I've looked all over for an answer but cannot find one.
Thank you,
John
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
John Niendorf
2014-01-18 22:27:59 UTC
Permalink
Thank you for the reply. I was having some other issues with my computer so I wiped the drive and reinstalled Ubuntu.

Now things are working as they should.

It sure is puzzling though.

John
Post by Alexander Lukyanov
Does plain ssh try to use WT key? Try in lftp "set | grep WT".
Post by John Niendorf
Hi Everyone,
I'm running the latest stable version of lftp on a laptop running Ubuntu 12.04
My problem is I recently changed SSH keys and lftp still looks for the old key.
The key is stored in ~/.ssh
The old key was called WT
The new key is called the name of the site I connect to.
When I type lftp in the terminal I get the message that there is no such file as ~/.ssh/WT
Then I am able to connect securely using the new key.
I've tried setting which key to use in both ~/.lftp/rc and ~/lftprc but the problem persists.
I wonder why is lftp still expecting the old key? Does anyone know how I can make lftp "forget" that key?
I've looked all over for an answer but cannot find one.
Thank you,
John
_______________________________________________
lftp mailing list
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Loading...