I just learned how to do ssh last week. I needed it to set up VNC securely.
There are directions on how to do that in
this thread
Majost and Brad helped me how a lot.
I don't know about the command-line stuff, but setting up a ssh is pretty simple now that I know how to do it.