[mpich-discuss] Specify ssh username?

Barnet Wagman bw at norbl.com
Tue Feb 1 14:37:54 CST 2011


Thanks, I wasn't aware of the .ssh/config file.  I can manipulate that
file to do what I need.

On 2/1/11 1:05 PM, Reuti wrote:
> Hi,
>
> Am 01.02.2011 um 19:55 schrieb Barnet Wagman:
>
>> Is there a way to explicitly specify the username that ssh uses (in an
>> mpiexec, for example)?  I haven't been able to find anything about this
>> in the documentation or the mailing list archive.
>>
>> With a default mpich2 installation on a Linux system, mpiexec appears to
>> use value of $USER when it connects to a host via ssh. I'd like to be
>> able to specify this explicitly.  I've tried using a an ssh style
>> user/host string (e.g. some_user at some_host) in the machinefile, but this
>> generates an error.
> this can be put in a file ~/.ssh/config There certain combinations for users/hosts/options can be specified. It can also be used to define shortcuts for machines you often connect to, but have to supply e.g. a different user name or port.
>
> -- Reuti
>
>
>> thanks
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>



More information about the mpich-discuss mailing list