pssh does not source .bash_profile/.profile

88 views
Skip to first unread message

Oleg Proudnikov

unread,
Jul 10, 2014, 7:07:49 AM7/10/14
to parall...@googlegroups.com
Hello All,

Is there a way to make pssh source .bash_profile or .profile when I execute a remote command?

Thank you,
Oleg


Andrew McNabb

unread,
Jul 16, 2014, 9:01:17 PM7/16/14
to parall...@googlegroups.com
Pssh just uses ssh, so all of the same resources are available as with a
standalone ssh command. For one, you could extend your ssh command:

pssh --your-options "source ./.bash_profile; some command"
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "parallel-ssh" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to parallel-ssh...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages