Ssh commands to a server

Hi to all,
I am trying to shutdown my ubuntu pc with ssh command from my vera plus but cannot succeed. I follow that “http://forum.micasaverde.com/index.php/topic,11663.0.html” steps but no way to get result.

When I try to generate ssh key result is here,

root@MiOS_50000000:~# dropbearkey -t rsa -f ~/.ssh/id_dss
Generating 2048 bit rsa key, this may take a while…
Couldn’t create new file /root/.ssh/id_dss.tmp23027: No such file or directory
Exited: Failed to generate key.

When I try to see the ssh key, result is;

root@MiOS_50000000:~# dropbearkey -y -f ~/.ssh/id_dss
Failed reading ‘/root/.ssh/id_dss’

Is there any suggestion for me?

mdkir /root/.ssh

Will probably sort you out

C

1 Like

Thank you very much, I can see the public key right now. mkdkir /root/.ssh fix my problem.

1 Like

Glad to be of service :slight_smile:
C

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy