This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi there, i am not sure if i am posting this in the correct place or not... if not, please forgive me anyhow, i am trying to get ssh-agent to work but i am having trouble. I tried looking at different tutorials on it and stuff and i am not getting anywhere with it. how EXACTLY should i use it? just type in eval `ssh-agent`...then what? when i tried ssh-add but got nothing from that... Thanks
ssh-agent is basically what you will use for ssh shell. ssh-add is basically adding your rsa key into memory. For exmaple: Let's say you have sshd running on a server call BOX_A, then you have a client call BOX_B. You want to ssh into BOX_A from BOX_B without constant typing in password. Here is what you do: all done from BOX_B. 1.a set up rsa for SSH 2 * generate local key and copy to server ssh-keygen -t rsa cat .ssh/id_rsa.pub | ssh user@BOX_A "cat - >>.ssh/authorized_keys" 1.b public key ssh-agent bash ssh-add ~/.ssh/id_rsa 1.c ssh user@BOX_A #no password required