For example the following command would be used to login to a computer with the network id "comp.org.net":
assuming "jdoe" is the username of the account we are tying log into on this machine. The system will ask you for the password before you get the prompt that allows you to run programs on the remote computer.
If the user name of the remote machine is the same as on the local machine you can omit the user name:
You can also use ssh to run a command on a remote machine without login in. For example,
will execute the command "ps" on the computer "comp.org.net" and show the results in your local window.
ssh email@example.com ps