All Questions
Tagged with ssh-agent shell-script
4 questions
5
votes
2
answers
3k
views
Can I use a SSH key with git directly, without depending on ssh-agent?
I have a SSH key to allow me to push to a certain repository. No problem there with the key itself - however, I don't want to copy the key to a .ssh folder or leave the SSH key with ssh-agent (on ...
2
votes
2
answers
5k
views
How to launch the password in pssh command
when we want to use pssh in order to get in parallel the command output from remote machine we can do ( for example )
pssh -H presto01 -l root -A -i "hostname"
Warning: do not enter your password if ...
33
votes
6
answers
10k
views
Have ssh-add be quiet if key already there
I want to put ssh-add /path/to/special_key at the top of a script. This works fine, but it always prompts for the passphrase. This is strange, and a little annoying, as it still asks for the ...
15
votes
1
answer
8k
views
How would I detect a non-login shell? (In Zsh)
I want to create a script that runs when a Zsh instance starts, but only if the instance is:
Non-login.
Interactive
I think I'm right to say .zshrc runs for all interactive shell instances, .zprofile ...