Welcome to LQ!
The setup you describe should allow you to experiment with SSH by connecting to the Ubuntu virtual machine from your Windows 7, provided that you networking configured appropriately.
Either Cygwin or PuTTY can be used as SSH clients to connect to the Ubuntu virtual machine as the SSH server. (The Ubuntu virtual machine will need to be running sshd, the SSH server daemon.)
Quote:
What is the Linux command for logging out of an ssh?
|
Typing 'exit' in the SSH terminal window should exit the SSH connection. If you have been using X11 forwarding and running an X windows program, it may be necessary to type Ctrl-C to restore the command prompt.
Quote:
What is the Linux command that get the terminal to prompt you for your ssh username and password?
|
Typically you start a SSH session by including '<user>@<hostname>' in the options to the 'ssh' command. If the user is recognised on the remote host , and password login is allowed on the remote host (set by options in sshd_config on the remote host), then the connecting user will be requested to supply the password.
Quote:
How do I log into my ssh as the root user?
|
It is considered poor security practice to allow root login via SSH. (An attacker knows the user name and the password is vulnerable to brute forcing). It is best to disable root login, connect via SSH as a normal user, then escalate privileges when connected.
As you are experimenting on your own machine, allowing root login requires that the SSH server has root login enabled in the options in sshd_config.
Quote:
What would be the easiest way to create and keep track of all the information about the users that I create accounts for?
|
In Linux, when users are created, information on users is stored in /etc/passwd. User privileges are enhanced by including the user in groups. This information is stored in /etc/group.