SSH lock outs
Dear all,
I have the following problem: I use ssh and keychain in order to get the bakcups of my web site to my local pc. I do not have any problem with the procedure, but my ISP asked me to add a check before any scp action in order to ensure that the passphrase is entered correctly. keychain help is not very informative about the matter. Can someone help me? |
what sort of check?
are you using ssh-agent to pass the passphrase between machines? what's the point of what they are asking? |
Quote:
Quote:
Quote:
I tried to get the results of a simple command (eg date) using Code:
scp user@host date > login.txt |
what's "keychain" anyway? I'm not sure what it does....
is it similar to ssh-agent? |
keychain is a wrapper of ssh-agent.
http://www.gentoo.org/proj/en/keychain/ |
are you doing this using a script?
could you use the exit value to exit the script if the wrong pass phrase is entered..... if you're using this key chain i dont know how the wrong pass phrase can get entered.... also which way is the copy happening...? |
That's exactly the problem. I have no exit codes. keychain works as wrapper...
|
how can it go wrong though if the passwords are being stored in the keychain. I dont understand........
|
All times are GMT -5. The time now is 12:13 AM. |