You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by John Smith <ja...@gmail.com> on 2019/06/11 19:30:24 UTC

How to config user for passwordless ssh?

Hi, is it possible to change the default user from root to something else?

When we run ./start-cluster.sh it tries to ssh using root user.

I see in the docs: env.ssh.opts But it doesn't say how to configure the
options. If that's even the case?

Re: EXT :How to config user for passwordless ssh?

Posted by John Smith <ja...@gmail.com>.
Ok so if I understand it correctly... I can pass -l myusername to e
nv.ssh.opts?

On Tue, 11 Jun 2019 at 21:01, Martin, Nick <Ni...@ngc.com> wrote:

> Env.ssh.opts is the literal argument string to ssh as you would enter it
> on the command line. Take a look at TMSlaves() in config.sh to see exactly
> how it’s being used.
>
>
>
> *From:* John Smith [mailto:java.dev.mtl@gmail.com]
> *Sent:* Tuesday, June 11, 2019 12:30 PM
> *To:* user <us...@flink.apache.org>
> *Subject:* EXT :How to config user for passwordless ssh?
>
>
>
> Hi, is it possible to change the default user from root to something else?
>
> When we run ./start-cluster.sh it tries to ssh using root user.
>
> I see in the docs: env.ssh.opts But it doesn't say how to configure the
> options. If that's even the case?
>
> ------------------------------
> Notice: This e-mail is intended solely for use of the individual or entity
> to which it is addressed and may contain information that is proprietary,
> privileged and/or exempt from disclosure under applicable law. If the
> reader is not the intended recipient or agent responsible for delivering
> the message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. This communication may also contain data subject to U.S. export
> laws. If so, data subject to the International Traffic in Arms Regulation
> cannot be disseminated, distributed, transferred, or copied, whether
> incorporated or in its original form, to foreign nationals residing in the
> U.S. or abroad, absent the express prior approval of the U.S. Department of
> State. Data subject to the Export Administration Act may not be
> disseminated, distributed, transferred or copied contrary to U. S.
> Department of Commerce regulations. If you have received this communication
> in error, please notify the sender by reply e-mail and destroy the e-mail
> message and any physical copies made of the communication.
>  Thank you.
> *********************
>

RE: EXT :How to config user for passwordless ssh?

Posted by "Martin, Nick" <Ni...@ngc.com>.
Env.ssh.opts is the literal argument string to ssh as you would enter it on the command line. Take a look at TMSlaves() in config.sh to see exactly how it’s being used.

From: John Smith [mailto:java.dev.mtl@gmail.com]
Sent: Tuesday, June 11, 2019 12:30 PM
To: user <us...@flink.apache.org>
Subject: EXT :How to config user for passwordless ssh?

Hi, is it possible to change the default user from root to something else?

When we run ./start-cluster.sh it tries to ssh using root user.

I see in the docs: env.ssh.opts But it doesn't say how to configure the options. If that's even the case?


------------------------------------------------------------------------------

Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. This communication may also contain data subject to U.S. export laws. If so, data subject to the International Traffic in Arms Regulation cannot be disseminated, distributed, transferred, or copied, whether incorporated or in its original form, to foreign nationals residing in the U.S. or abroad, absent the express prior approval of the U.S. Department of State. Data subject to the Export Administration Act may not be disseminated, distributed, transferred or copied contrary to U. S. Department of Commerce regulations. If you have received this communication in error, please notify the sender by reply e-mail and destroy the e-mail message and any physical copies made of the communication.
 Thank you. 
*********************