Contents

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleUsing the Globus CLI from login.osgconnect.net

When logging into login.osgconnect.net, if you use the ssh -A flag, then you will be able to login from login.osgconnect.net to cli.globusonline.org.  This would be useful to run transfer scripts on login.osgconnect.net. Check the Globus command line interface from your terminal.

Code Block
 $ ssh -A username@login.osgconnect.net
 $ ssh username@cli.globusonline.org help
Task Management:        cancel                 modify 
                        details                status
                        events                 wait
Task Creation:          scp                    transfer
                        rm                     delete
File Management:        ls                     rename
                        mkdir
Endpoint Management:    endpoint-add           acl-add
                        endpoint-activate      acl-list
                        endpoint-deactivate    acl-remove
                        endpoint-list          
                        endpoint-modify
                        endpoint-remove
                        endpoint-rename
Other:                  help                   profile
                        history                versions
                        man                 

Now check the available end points

Code Block
 $ ssh username@cli.globusonline.org endpoint-list
...
...
username#desktop   
...
osgconnect#stash
....
....

To activate the end points

Code Block
 $ ssh username@cli.globusonline.org endpoint-activate username#desktop osgconnect#stash

To copy a file from osgconnect#stash to username#desktop

Code Block
 $ ssh username@cli.globusonline.org  scp osgconnect#stash:/stash/user/username/public/file.txt  username#desktop:/home/username/. 

...