How Do I connect to Linux Home Drives?

Tags drive linux

Overview

ASCTech has several places where you may have Linux files: your home directory, a group directory, on Unity, and on Jump.asc.ohio-state.edu.

This article will explain how to access your files from on ASC's network or from outside ASC's network.

Accessing Linux Home and Group Directories from ASCTech Linux Machines

Your ASCTech home directory should mount on /home/lastname.# and if you have a group directory, it will mount on /home/group_name.

Accessing Linux Directories from Windows and Macintosh.

If you are on one of:

  • an ASCTech Windows or Macintosh desktop in your building.
  • the ASC VPN from anywhere.
  • osuwireless on an OSU owned and managed machine, using certificate login (you do not type a password to get on wireless)

You can use an SFTP client, such as, CyberDuck, WinSCP, FileZilla or command line sftp/scp to any ASCTech Linux workstaion and and find your files in /home/lastname.#.

Note: You have to cd (or 'set directory') there in an SFTP client to have them mount and see them - if you browse to /home you may not see your directory until it's cd'd into due to the auto-mounter.

Note: If you are on an ASCTech Macintosh that is not multi-user, see your Support Manager for options to mount your Linux directory directly on the Mac. This is useful is you are constantly transferring files back and forth.

Accessing Linux Directories from Unity and Jump

Unity

Unity's storage is separate from the ASC Linux home directory, for performance reasons. So your /home there is not the ASC Linux home directory, but is the same path of /home/lastname.# in case you are transferring scripts. Think of it like OSC's storage - after your jobs are done you will probably want to transfer the result somewhere else.

You can SFTP files to and from Unity, but your ASC Linux home and group directories are available for copying back and forth in /aschome/lastname.# and /aschome/group_name.

Jump

Jump is only mentioned since it's another option, if you don't want to be on the VPN, or have large files to transfer as it has less overhead than the VPN.

Like Unity, jump has a separate default home directory. Jump is meant only to provide a way to SSH instead of the VPN, so it is fairly minimalist. Jump is not meant to store files on, or be an end user machine.

It is much more complex to connect SFTP to jump.asc.ohio-state.edu due to the Duo authentication. Jump key logins do not mount the Linux home directory, so a password must be used.

However, like on Unity, the ASC Linux home and group directories are available in /aschome. You have to cd (or 'set directory') there in an SFTP client to have them mount and see them.

Because of Duo, you will get an extra prompt and it depends on the client how this happens:
CyberDuck: Will pop up a second unlabelled password prompt, and you'll type push in it.
FileZilla: cannot use Quickconnect, needs to add a host using the upper left Site Manager, and select Logon Type 'interactive'.
WinSCP: Pops up a new window with number choices, like an SSH login to jump.
Command Line sftp/scp: Shows the number choices.

Notes: 

  • You can set up DUO to take a default action - then you may not see the number choices but get an auto-push.  This is the same with web based Duo prompts.
  • ASCTech recommends not having a default action set, as I like to be able to choose my office phone, iPad, mobile phone, etc. as to which is closest and easiest. But this is personal preference.
  • We also recommend having more than one Duo device.
  • If you need help with Duo please see us.