Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1433  / 1 Year ago, thu, december 15, 2022, 3:55:28

I am using key based authentication for ssh. When ever i try to login into the system it doesn't ask me for public key. It simply logs in, i just want to logout from this public key authentication. And when ever i need i will enable it. Can some one say me the way to logout from Public Key authentication. And How to set timeout for this public key authentication? Thanks in advance.


More From » ssh

 Answers
7

If from command line you can see your identity with



ssh-add -l


then you can remove it (i.e. make the agent to forget it), with



ssh-add -D

[#41583] Friday, December 16, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ippalogu

Total Points: 215
Total Questions: 127
Total Answers: 146

Location: Denmark
Member since Tue, Jul 19, 2022
2 Years ago
ippalogu questions
Tue, Jan 4, 22, 21:49, 2 Years ago
Tue, Sep 21, 21, 09:12, 3 Years ago
Wed, May 19, 21, 02:24, 3 Years ago
Mon, Dec 27, 21, 01:44, 2 Years ago
;