telnet which allowed a programmer to log in and work on another machine (as if they were a user sitting at a terminal
of that machine), and ftp (for file transfer protocol) which allowed a user
to log into another machine and pass files between the local and remote machines.
While telnet and ftp provide terminal access and file transfer capabilities to a remote
machine, their transmissions are completely exposed to being 'eavesdropped'. Any information,
especially passwords, can be grabbed during transmission.
The spftware ssh/sftp (Secure shell/secure file transfer) were developed as secure replacements for
telnet/ftp.
ssh ImplementationIn addition to secure transmission, the program provides a GUI-based file transfer (based upon the familiar drag-and-drop interface) and a much friendlier and configurable terminal screen, supporting multiple windows, fonts, colors, etc.
ssh username@lab.notbc.org, and you will be connected to the server and prompted for a password, after which you will be on the command
line..
Assuming you've downloaded and installed the software from SSH Communications Security, here is
how to connect to the lab.notbc.org machine.
Click on the ssh icon
installed on your desktop. A blank, inactive terminal screen will appear.
Click the Quick Connect on the tool bar, and then fill in the host name (in the image
I am connecting to lab.notbc.org and the user name
(weiss in the image-- you should use your own username that you received from me via email --
leave the other two boxes unchanged and click Connect:
You will be prompted for your password and then connected to the remote machine. A pop-up may appear asking if you wish to name this profile (so you don't have to enter the information next time).
Once connected you have a nice terminal interface. Copying and pasting using your mouse is available (though you use Ctl-Ins and Shift-Ins for copy and paste respectively (rather than the Ctl-C/Ctl-V you're probably accustomed to).
You can open additional terminal windows by going to Window/New Terminal on the menu.
ssh also provides a GUI-based file transfer facilitiy. Go to Window/New File Transfer —
you can access this facilitiy either via the other icon (the one that looks like a folder
)
or by clicking the same icon on the tool bar of the ssh window.
You can drag and drop files between your local PC and the remote machine.
If you are on a Mac, there is a command, sftp, that provides for file transfer between your local machine and a remote host. It is invoked the same way as ssh (username@hostname), and then takes you into a command line environment where you can list directories (locally and remotely), change directories (again at both ends), and upload (local-to-remote) files (the 'put' command) and download (remote-to-local) files (the 'get' command).