[mpich-discuss] Specify ssh username?
Reuti
reuti at staff.uni-marburg.de
Tue Feb 1 13:05:19 CST 2011
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
More information about the mpich-discuss
mailing list