I'm just starting out with SSH and I need somebody who's knowledgeable on SSH on Ubuntu/Linux to give me the whole picture of working with SSH.
I currently know that SSH is used to securely connect to a computer over a network and then be able to execute commands on that computer from your workstation's terminal.
With the default setup on a clean Ubuntu 14.04 desktop install, I try to connect to an Ubuntu server (also clean install, no extra packages) with the ssh command and the ip address of the server:
With that I get the message "connection refused".
Having read https://help.ubuntu.com/community/SSH I understand that only a ssh client (openssh client specifically) comes installed with Ubuntu and a ssh server does not.
I then install the openssh-server package on the server machine and repeat the above command, which then allows me to enter the password for the larryserver user on the server machine. I'm in.
What I would like to know about ssh besides what the ubuntu help page can teach me is where ALL of the important files are located that have to do with ssh on Ubuntu and what they are used for.
The file above, that's the binary that executes when I type the ssh command into the terminal correct?
If openssh is A client & server for ssh then what tells the ssh command that this client/server config is in use? If I installed a client and server package that is not openssh, how does the ssh command use those instead? Or does the ssh command only use openssh?