| Department of Planetary Sciences Lunar and Planetary Laboratory | |
LPL Central Computing Systems (LCS) |
How do I download and install SSH on my Windows, Mac, or Linux Machine?
To set up SSH on a Windows, MacOS, or Linux machine, perform the following steps.
How do I upgrade SSH on my Windows PC?
To upgrade SSH on a Windows PC, perform the following steps.
Where is SSH on my UNIX machine?
The UNIX ssh executable is: /opt/OBSDssh/bin/ssh. For ease of use, please add
/opt/OBSDssh/bin to your PATH.
How do I install and use secure FTP?
There is a secure equivalent of ftp on UNIX, Linux, MacOS, and Windows.
On Windows, click the yellow Secure File Transfer icon on your desktop, which
appeared after you downloaded and installed Secure Shell.
On UNIX, the secure equivalent of ftp is called sftp. On LPL UNIX machines,
the sftp executable has been installed as /opt/OBSDssh/bin/sftp, so add /opt/OBSDssh/bin to your PATH.
On Mac PCs, MacSFTP is the secure equivalent of Fetch. Download it from the LPL FTP Site.
The downloadable file is a stuffit expander file that will put MacSFTP on your
desktop.
Click on MacSFTP inside the MacSFTP Classic folder to start the application.
After two weeks of use, contact LCS staff to obtain the LPL license key to enable you to use MacSFTP permanently.
On Linux, sftp should already be installed and in your default path. Please contact LCS staff if you don't find it.
Using Secure Shell File Transfer, how do I see more than just the files under my home directory on the remote machine?
On your local machine (Windows or MacOS), across the top of the Secure Shell File Transfer window, there is a row of menu items that says "File Edit View Operation".
Click the "View" item. This will cause a drop-down menu to appear.
In that menu, click the box to the left of "Show Root Directory" or "View Root Directory/Files".
This will cause the tree view of the remote file system (on the left side of the window) to change, giving you a view of all of the remote machine's files, starting with "/" (the root directory) at the top of the tree.
Now you can navigate to any readable directory on the remote machine.
After Windows->UNIX SSH File Transfer, how do I remove the extra carriage returns from my file?
Use dos2unix to convert each transferred text file from DOS format to ISO format. For example, to remove the extra carriage returns from original_file, yielding converted_file:
% dos2unix original_file converted_file
In the past, when you used ftp to transfer files, you didn't have to do this conversion, because ftp did it for you. Secure ftp (sftp) does binary-binary transfers only (in the interest of security), so you must perform the conversion.