HPC/Network Access/Mac OS X Applications for SSH: Difference between revisions

From CNM Wiki
Jump to navigation Jump to search
m (demote headings)
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:


== Terminal Access ==
== Terminal Access ==
Mac OS X comes with two builtin solutions for terminal access which serve most user's needs.


=== Terminal (app) ===
=== Terminal (app) ===
[[Image:HPC - MacOS Terminal icon.png|right]]
[[Image:HPC - MacOS Terminal icon.png|right]]
MacOS X comes with two builtin solutions for terminal access which serve most user's needs.
* Recommended
* Terminal.app (recommended), located in the /Applications/Utility folder
* located in the /Applications/Utility folder (in the Finder, open it with Shift-Cmd-U.  '''Tip:''' drag the Terminal icon to the Dock)
* allows [http://lifehacker.com/software/mac-os-x-leopard/leopards-revamped-terminal-sports-tabs-and-more-316599.php multiple tabs per window]
* allows [http://lifehacker.com/software/mac-os-x-leopard/leopards-revamped-terminal-sports-tabs-and-more-316599.php multiple tabs per window]
<br clear="all" />
<br clear="all" />
Line 14: Line 15:
=== XTerm ===
=== XTerm ===
[[Image:HPC - MacOS xterm icon.png|right]]
[[Image:HPC - MacOS xterm icon.png|right]]
* xterm, as part of the optional X11 package
* Part of the optional X11 package shipping with Mac OS X, or its [http://xquartz.macosforge.org/trac/wiki XQuartz] replacement
* Discouraged (Terminal.app provides better integration)
* Discouraged (Terminal.app provides better integration)
<br clear="all" />
<br clear="all" />


== File transfer ==
== File transfer ==
[[Image:HPC - File Transfer methods.png|400px|right]]
The examples below indicate how to connect using ssh tunneling.  This typically means that instead of a real remote host name and the standard ssh port (22), the host name will be <code>localhost</code> and the port will be the one selected during
The examples below indicate how to connect using ssh tunneling.  This typically means that instead of a real remote host name and the standard ssh port (22), the host name will be <code>localhost</code> and the port will be the one selected during
[[HPC/Network Access/SSH Tunnel Setup on Linux and MacOS|tunnel setup]].  Some applications do not offer the opportunity to enter port numbers, but they use the standard ssh mechanism under the hood.  This is actually a good thing, as they can make full use of customizations in <code>.ssh/config</code>, in particular host aliases.  In the example, "carbon" is such an alias, referring to <code>localhost</code> on port 33301.
[[HPC/Network Access/SSH Tunnel Setup on Linux and MacOS|tunnel setup]].  Some applications do not offer the opportunity to enter port numbers, but they use the standard ssh mechanism under the hood.  This is actually a good thing, as they can make full use of customizations in <code>.ssh/config</code>, in particular host aliases.  In the example, "clogin" is such an alias, referring to <code>localhost</code> on port 33301.


=== [http://www.magnetk.com/expandrive ExpandDrive] ===
=== [http://www.magnetk.com/expandrive ExpanDrive] ===
[[Image:HPC - ExpandDrive icon.png|75px|right]]
[[Image:HPC - ExpanDrive icon.png|75px|right]]
* Commercial app (approx. $40), very nice Finder integration
* Commercial app (approx. $40), very nice Finder integration
* See also [http://www.expandrive.com/windows ExpanDrive for Windows]
* See also [http://www.expandrive.com/windows ExpanDrive for Windows]
Line 62: Line 64:
=== [http://cyberduck.ch/ CyberDuck] ===
=== [http://cyberduck.ch/ CyberDuck] ===
[[Image:HPC - CyberDuck icon.png|right]]
[[Image:HPC - CyberDuck icon.png|right]]
[[Image:HPC - CyberDuck Action menu - Synchronize.png|150px|thumb|right|Synchronize entry from the Action (gear) toolbar menu.]]
* More old-school FTP and SFTP browser for Mac OS X &#91;the GUI is overwrought in the wrong places – ed.&#93;
* More old-school FTP and SFTP browser for Mac OS X &#91;the GUI is overwrought in the wrong places – ed.&#93;
* Supports public keys, but goes its own: doesn't know about ssh-agent or <code>known_hosts</code>
* Supports public keys, but goes its own: doesn't know about ssh-agent or <code>known_hosts</code>
* Doubles as regular ftp client (who's still using that? - ed., also, Leopard's finder can mount ftp:// links)
* Doubles as regular ftp client (who's still using that? - ed., also, Leopard's finder can mount ftp:// links)
* Interesting feature: "Synchronize…" (in the ''Action'' menu)
* Interesting feature: "Synchronize…" (in the ''Action'' menu)
[[Image:HPC - CyberDuck connect.png]]
[[Image:HPC - CyberDuck connect.png|450px|thumb|left|Recommended settings for tunneled connection.]]
[[Image:HPC - CyberDuck Action menu - Synchronize.png]]
[[Image:HPC - CyberDuck accept key.png|450px|thumb|center|One-time acceptance of host key.]]


=== [http://www.cis.upenn.edu/~bcpierce/unison/ Unison] ===
=== [http://www.cis.upenn.edu/~bcpierce/unison/ Unison] ===
Line 75: Line 78:
[[Image:HPC - Unison connect.png]]
[[Image:HPC - Unison connect.png]]


[[Category:HPC]]
[[Category:HPC|Network]]

Latest revision as of 00:58, May 2, 2013

> Related: Windows applications

Various applications are available on the Mac platform for terminal access and file transfer.

Terminal Access

Mac OS X comes with two builtin solutions for terminal access which serve most user's needs.

Terminal (app)

HPC - MacOS Terminal icon.png
  • Recommended
  • located in the /Applications/Utility folder (in the Finder, open it with Shift-Cmd-U. Tip: drag the Terminal icon to the Dock)
  • allows multiple tabs per window


XTerm

HPC - MacOS xterm icon.png
  • Part of the optional X11 package shipping with Mac OS X, or its XQuartz replacement
  • Discouraged (Terminal.app provides better integration)


File transfer

HPC - File Transfer methods.png

The examples below indicate how to connect using ssh tunneling. This typically means that instead of a real remote host name and the standard ssh port (22), the host name will be localhost and the port will be the one selected during tunnel setup. Some applications do not offer the opportunity to enter port numbers, but they use the standard ssh mechanism under the hood. This is actually a good thing, as they can make full use of customizations in .ssh/config, in particular host aliases. In the example, "clogin" is such an alias, referring to localhost on port 33301.

ExpanDrive

HPC - ExpanDrive icon.png

HPC - ExpandDrive Manager.png HPC - ExpandDrive MenuItem.png

MacFUSE

HPC - MacFUSE icon.png
  • Base package for ssh file sharing – you'll need this for the next two apps.
  • Requires admin privileges to install.



sshfs

HPC - sshfs icon.png
  • Straightforward Finder integration – makes remote files available as network share.
  • Recommended for most situations.
  • Requires MacFUSE.
  • To connect through a tunnel, simply use your host alias as defined in the .ssh/config file.
  • To disconnect, right-click or control-click, and select "Eject". This is required before sending a laptop to sleep.
  • Minor drawback: does not recognize public keys – you'll have to type your domain password upon connecting.
  • Endorsement: LifeHacker

HPC - sshfs connect.png

MacFusion

HPC - MacFusion icon.png
  • More flashy Finder integration, but requires more verbose configuration, including knowledge of your local port [what's the joy in that? – ed.]
  • Supports favorites and configurable sleep/wake behavior.
  • Requires MacFUSE.

HPC - MacFusion connect.png HPC - MacFusion Eject.png

  • Advantage: does recognize public keys
  • To unmount, right-click or Control-click and select "Eject".

CyberDuck

HPC - CyberDuck icon.png
Synchronize entry from the Action (gear) toolbar menu.
  • More old-school FTP and SFTP browser for Mac OS X [the GUI is overwrought in the wrong places – ed.]
  • Supports public keys, but goes its own: doesn't know about ssh-agent or known_hosts
  • Doubles as regular ftp client (who's still using that? - ed., also, Leopard's finder can mount ftp:// links)
  • Interesting feature: "Synchronize…" (in the Action menu)
Recommended settings for tunneled connection.
One-time acceptance of host key.

Unison

HPC - Unison icon.png
  • Speaking of synchronization: Unison is available and can use ssh for transport
  • Current binaries available as third-party.

HPC - Unison connect.png