/
PSHELL Quickstart

PSHELL Quickstart

Requirements

Your system must have Python 3.6.x or greater installed, and boto3 if accessing S3 resources such as acacia or aws.

A prepackaged python executable for pshell is available from here.

 

Running

From the command line, you can start pshell as follows:

python3 pshell

 

Remotes

pshell maintains a list of registered remote servers and the current connection state. The active remote is shown in the left part of pshell's command prompt:

portal:> remote portal [ not connected ] * public [ not connected ] aws [ not connected ]

 You can query the configuration of a particular remote as follows:

portal:/>remote portal --info name = portal type = mflux protocol = https server = data.pawsey.org.au port = 443 domain = ivec

New remotes can be added for an additional Mediaflux server (similar to the default portal and public) or for an S3 resource. For further information, see: pshell and S3 remotes.

 

Logging in

Authenticate to a remote using the appropriate credentials. In the case of the data portal it will be your Pawsey credentials. In the case of an S3 resource it will be your key and secret pair. If the login was successful, the connection status of the remote will be updated.

You can now navigate (cdls) and transfer files (putget) between your local filesystem and your remote storage resource.

 

Command syntax

The command line client implements a subset of the standard SFTP commands.

Remote filesystem commands: cd, ls, pwd, mkdir, rmdir

Local filesystem commands: lcd, lls, lpwd

Transfer commands: get, put

 

Finding out more

To see an overview of the available commands, type "help" at the prompt. You can also type "help <command>" to obtain specific help on the named command.

 

Related content

pshell and Mediaflux
pshell and Mediaflux
Read with this
Basic pshell commands
Basic pshell commands
More like this
pshell scripting and HPC
pshell scripting and HPC
Read with this
Using the command line interface - pshell
Using the command line interface - pshell
More like this
Configuring and running an S3 client
Configuring and running an S3 client
Read with this
Basic pshell use
More like this