指定星簇sshmaster端口



使用星簇时,是否可以在SSHing进入主节点时指定端口号?例如:

starcluster sshmaster mycluster --port 22

否。当使用"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)

最新更新