使用starcluster时,是否可以在SSHing进入主节点时指定端口号?例如:
starcluster sshmaster mycluster --port 22发布于 2015-03-30 21:28:00
不是的。无法定义使用"sshmaster“连接到master时要使用的端口号。下面是sshmaster上的"help“命令的输出。
%> starcluster sshmaster -h
StarCluster - (http://star.mit.edu/cluster) (v. 0.9999)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster@mit.edu
Usage: sshmaster [options] <cluster> [<remote-command>]
SSH to a cluster's master node
Example:
$ sshmaster mycluster
You can also execute commands without directly logging in:
$ starcluster sshmaster mycluster 'cat /etc/hosts'
Options:
-h, --help show this help message and exit
-u USER, --user=USER login as USER (defaults to root)
-X, --forward-x11 enable X11 forwarding
-A, --forward-agent enable authentication agent forwarding
-t, --pseudo-tty enable pseudo-tty allocation (for interactive commands
and screens)https://stackoverflow.com/questions/29302424
复制相似问题