Understanding ssh-agent and ssh-add
You may have come across the following message when doing some operation that uses your private key, such as working with git or ssh:
You may have come across the following message when doing some operation that uses your private key, such as working with git or ssh:
This is the third and final part of a tutorial for creating a cinch IRC bot game. If you haven't read the first two parts then you can start it here.
Update: Brian VanLoo posted a very helpful comment explaining the behaviour I saw. Scroll down to the comments and read it to understand what's going on here.
This is the second part of a tutorial for creating a cinch IRC bot game. If you haven't read the first part then you can read it here.
Bash, as a scripting language, can be a bit painful sometimes. It doesn't have good distinction between variable types, it has strange syntax for functions and the syntax for statements (such as if/while/case) is unintuitive and inconsistent. Having said that, you can rely on shell script being available on any Unix machine, and bash is almost as prevalent. Therefore, it's often the best choice for scripting.