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

From CNM Wiki
Jump to navigation Jump to search
m (promote headings)
Line 1: Line 1:
Various applications are available on the Mac platform for terminal access and file transfer.  
Various applications are available on the Mac platform for terminal access and file transfer.  
== Terminal access ==
 
= Shell access =
 
== Terminal ==
{| align="right" style="border: none"
| [[Image:HPC - MacOS Terminal icon.png]]
| [[Image:HPC - MacOS xterm icon.png]]
|}
MacOS X comes with two builtin solutions for terminal access which serve most user's needs.
MacOS X comes with two builtin solutions for terminal access which serve most user's needs.
[[Image:HPC - MacOS Terminal icon.png]]
[[Image:HPC - MacOS xterm icon.png]]
* Terminal.app (recommended), located in the /Applications/Utility folder
* Terminal.app (recommended), located in the /Applications/Utility folder
* xterm, as part of the optional X11 package
* xterm, as part of the optional X11 package


== File sharing ==
= File transfer =
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, "carbon" is such an alias, referring to <code>localhost</code> on port 33301.


== [http://code.google.com/p/macfuse/ MacFUSE] ==
[[Image:HPC - MacFUSE icon.png|right]]
[[Image:HPC - MacFUSE icon.png|right]]
=== [http://code.google.com/p/macfuse/ MacFUSE] ===
* Base package for ssh file sharing – you'll need this for the next two apps.
* Base package for ssh file sharing – you'll need this for the next two apps.
* Requires admin privileges to install.
* Requires admin privileges to install.
<br clear="all/>


== [http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS sshfs] ==
[[Image:HPC - sshfs icon.png|right]]
[[Image:HPC - sshfs icon.png|right]]
=== [http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS sshfs] ===
* Straightforward Finder integration – makes remote files available as network share.
* Straightforward Finder integration – makes remote files available as network share.
* Recommended for most situations.
* Recommended for most situations.
Line 27: Line 33:
[[Image:HPC - sshfs connect.png]]
[[Image:HPC - sshfs connect.png]]


[[Image:HPC - MacFusion icon.png|right]]
== [http://www.magnetk.com/expandrive ExpandDrive] ==
 
[[Image:HPC - ExpandDrive icon.png|75px|right]]
[[Image:HPC - ExpandDrive icon.png|75px|right]]
=== [http://www.magnetk.com/expandrive ExpandDrive] ===
* Commercial app (approx. $40), very nice Finder integration
* Commercial app (approx. $40), very nice Finder integration
* Sister product of [http://www.magnetk.com/sftpdrive SftpDrive] for Windows
* Sister product of [http://www.magnetk.com/sftpdrive SftpDrive] for Windows
Line 39: Line 43:
* [http://macresearch.org/expandrive-brings-sftp-and-ssh-finder Review] via [http://macresearch.org/ MacResearch]
* [http://macresearch.org/expandrive-brings-sftp-and-ssh-finder Review] via [http://macresearch.org/ MacResearch]


=== [http://www.sccs.swarthmore.edu/users/08/mgorbach/MacFusionWeb/ MacFusion] ===
== [http://www.sccs.swarthmore.edu/users/08/mgorbach/MacFusionWeb/ MacFusion] ==
[[Image:HPC - MacFusion icon.png|right]]
* More flashy Finder integration, but requires more verbose configuration, including knowledge of your local port – what's the joy in that?  (ed. )
* 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.
* Supports ''favorites'' and configurable ''sleep/wake'' behavior.
Line 50: Line 55:
[[Image:HPC - MacFusion version warning.png]]
[[Image:HPC - MacFusion version warning.png]]


== [http://cyberduck.ch/ CyberDuck] ==
[[Image:HPC - CyberDuck icon.png|right]]
[[Image:HPC - CyberDuck icon.png|right]]
=== [http://cyberduck.ch/ CyberDuck] ===
* More old-school FTP and SFTP browser for Mac OS X, including the GUI being overwrought in the wrong places (ed.)
* More old-school FTP and SFTP browser for Mac OS X, including the GUI being overwrought in the wrong places (ed.)
* 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>
Line 60: Line 64:
[[Image:HPC - CyberDuck Action menu - Synchronize.png]]
[[Image:HPC - CyberDuck Action menu - Synchronize.png]]


== [http://www.cis.upenn.edu/~bcpierce/unison/ Unison] ==
[[Image:HPC - Unison icon.png|right]]
[[Image:HPC - Unison icon.png|right]]
=== [http://www.cis.upenn.edu/~bcpierce/unison/ Unison] ===
* Speaking of synchronization: Unison is available and can use ssh for transport
* Speaking of synchronization: Unison is available and can use ssh for transport
* [http://www.cs.haifa.ac.il/%7Eshuly/unison/ Current binaries] available as third-party.
* [http://www.cs.haifa.ac.il/%7Eshuly/unison/ Current binaries] available as third-party.
[[Image:HPC - Unison connect.png]]
[[Image:HPC - Unison connect.png]]
--[[User:Stern|stern]] 00:34, February 20, 2008 (CST)


{{Template:Standard Footer}}
{{Template:Standard Footer}}

Revision as of 20:48, February 6, 2009

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

Shell access

Terminal

HPC - MacOS Terminal icon.png HPC - MacOS xterm icon.png

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

  • Terminal.app (recommended), located in the /Applications/Utility folder
  • xterm, as part of the optional X11 package

File transfer

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, "carbon" is such an alias, referring to localhost on port 33301.

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

ExpandDrive

HPC - ExpandDrive icon.png
  • Commercial app (approx. $40), very nice Finder integration
  • Sister product of SftpDrive for Windows

HPC - ExpandDrive Manager.png HPC - ExpandDrive MenuItem.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.
  • Out of date: The last available version is MacFusion 1.2 Beta 3 — for use with MacFUSE Core 1.1, Jul 16 2007. Works for me - YMMV.
  • 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".

HPC - MacFusion version warning.png

CyberDuck

HPC - CyberDuck icon.png
  • More old-school FTP and SFTP browser for Mac OS X, including the GUI being 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)

HPC - CyberDuck connect.png HPC - CyberDuck Action menu - Synchronize.png

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