On Sun, May 25, 2008 at 11:59:04AM +0800, Cally K wrote:

> Is there a way to include an IP address with a different port in the openmpi
> hostfile, I keep getting error.. the pc sits on a different port, port 80
> whereas the others sit in port 22, how do I do that.

No host sits on a special port. Hosts have IP addresses, whereas ports
address a program (service) on a host (ports are the address information
for the application layer).

What you probably mean is: On one of your hosts, sshd is running on
port 80 instead of 22.

You can simply solve this problem by placing the appropriate port
configuration in your .ssh/config file on the connecting host:

Host = some.host.name
Port = 80

This allows you to say "ssh some.host.name" instead of "ssh -p 80
some.host.name"

So there's no need to specify the remote ssh port in the hostfile.



-- 
Cluster and Metacomputing Working Group
Friedrich-Schiller-Universität Jena, Germany

private: http://adi.thur.de

Reply via email to