Skip to content

Run remote commands with --login #28

@JosuaKrause

Description

@JosuaKrause

The --login (-l) option advises sh to act like a login shell (which is not the case when normally invoked by ssh) and source /etc/profile and one of ~/.bash_profile, ~/.bash_login, and ~/.profile. This makes commands run in user specified environments and also enables built-ins like the module command. The behavior can currently be achieved by passing "sh -l " + your_command to submit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions