Displaying 5 results from an estimated 5 matches for "backup_id_rsa".
2024 Jan 03
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
On 2024/01/02 09:51, Chris Green wrote:
> I think I have it! I need to unset SSH_AUTH_SOCK, that's all that's
> needed. See:-
>
> chris$ ssh -i backup_id_rsa backup
> [here the pop-up appears and I cancel it]
> sign_and_send_pubkey: signing failed for RSA "backup_id_rsa" from
> agent: agent refused operation
> chris at backup's password:
>
> chris$ env | grep SSH
> SSH_AUTH_SOCK=/run/user/1000/key...
2024 Jan 02
1
How to get "Enter passphrase" on command line rather than GUI pop-up?
...stem and then ssh again back to the 'home'
> system. The local system window gets the GUI pop-up the 'two ssh'
> window asks for the passphrase in the terminal.
>
I think I have it! I need to unset SSH_AUTH_SOCK, that's all that's
needed. See:-
chris$ ssh -i backup_id_rsa backup
[here the pop-up appears and I cancel it]
sign_and_send_pubkey: signing failed for RSA "backup_id_rsa" from
agent: agent refused operation
chris at backup's password:
chris$ env | grep SSH
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_ASKPASS_REQUIRE=ne...
2024 Jun 05
2
Can one set an agent timeout for a specific host?
If I set a timeout for a specific host's key does it set the timeout
for just that key/host?
I.e. if I do something like in ~/.ssh/config:-
#
#
# backup, use public-key authentication
#
Host backup
IdentityFile ~/.ssh/backup_id_rsa
IdentityAgent 600
Will it just time out the key saved for backup and leave any other
keys with the default no timeout?
--
Chris Green
2024 Jan 02
2
How to get "Enter passphrase" on command line rather than GUI pop-up?
On Tue, Jan 02, 2024 at 03:52:29PM +1100, Damien Miller wrote:
> On Mon, 1 Jan 2024, Christian Weisgerber wrote:
>
> > Chris Green:
> >
> > > Setting SSH_ASKPASS_REQUIRE=never in the environment on my xubuntu
> > > 23.10 system doesn't seem to work. I have set it:-
> > >
> > > chris$ env | grep SSH
> > >
2024 Jun 05
1
Can one set an agent timeout for a specific host?
On Wed, 5 Jun 2024 at 22:20, Chris Green <cl at isbd.net> wrote:
> If I set a timeout for a specific host's key does it set the timeout
> for just that key/host?
[...]
> Host backup
> IdentityFile ~/.ssh/backup_id_rsa
> IdentityAgent 600
I think you meant AddKeysToAgent?
> Will it just time out the key saved for backup and leave any other
> keys with the default no timeout?
Yes this will only affect the key added when connecting to this host.
--
Darren Tucker (dtucker at dtucker.net)
GPG ke...