Re: How can I make SSH with an identity file always demand a password?

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

 



Hi,

Either AddKeysToAgent is enabled or you have ControlMaster set to "yes" or "auto".

-- 
Iain

On 8/21/21, 13:21, "openssh-unix-dev on behalf of matthewhtb@xxxxxxxxxxxxx" <openssh-unix-dev-bounces+iain.morgan=nasa.gov@xxxxxxxxxxx on behalf of matthewhtb@xxxxxxxxxxxxx> wrote:

    Hello,

    I hope my question is apt for this list.

    I am using OpenSSH_8.2p1 on Ubuntu 20.04.

    I connect to a remote SSH server with the -i /path/to/file identity file
    option. My local machine asks me for a password for the identity file.
    This is because I created a password when using ssh-keygen.

    However, after I exit from the SSH server, and log back in I am not asked
    for a password. Some kind of caching is happening.

    Is there a way to force the password to be asked on every occasion when
    using an identity file?

    I have searched but it looks as if everyone wants to avoid using
    passwords, not deliberately attempting to use them.

    Thank you.

    _______________________________________________
    openssh-unix-dev mailing list
    openssh-unix-dev@xxxxxxxxxxx
    https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mindrot.org%2Fmailman%2Flistinfo%2Fopenssh-unix-dev&amp;data=04%7C01%7Ciain.morgan%40nasa.gov%7Cc41933a8fc5641a89b9608d964e131bc%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637651740645924639%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=BOiMrzPdOE%2FQ5n4Is94pqDBwH%2Bo%2F8HDq6ZFKZFASE9s%3D&amp;reserved=0

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux