I am new in dcos Mesos, installed dc os in local Ubuntu machine.
I can view the dcos dashboard.
but I can not sshing the master node using dcos node ssh --master-proxy --leader
. It says:
There is no
SSH_AUTH_SOCK
env variable, which likely means you aren't runningssh-agent
.dcos node ssh --master-proxy/--proxy-ip
depends onssh-agent
to safely use your private key to hop between nodes in your cluster. Please runssh-agent
, then add your private key withssh-add
.
as documentation, there should be .pem file in ./ssh directory. But in my Ubuntu machine I did not find .pem file of that location.
You should add your key to your ssh agent: This is usually done by
ssh-add keyname
, which requires your ssh-agent to run.If you don't file a pem file, this usually means you haven't generated a key before. Use
ssh-keygen
to do so.BTW, you are referencing an old version of the documentation, I assume you are probably running a 1.9 or 1.10 cluster, so I would make sure to use the respective documentation.