renproject/darknode-cli

How to login the darkNode Machine In digitalocean

Ultraman95 opened this issue · 5 comments

I have created DarkNode on digitalocean through “darknode up --name wonderreturn --do --do-token ******* ”;how to login the darkNode machine with ssh?

You can use darknode ssh DARKNODE-NAME command to ssh into the darknode's machine

can i use "ssh root@ip" command to ssh into the darknode's machine?

Yeah, you can. The darknode ssh DARKNODE-NAME command is using ssh command under the hood. You can also use ssh directly if you prefer. The username will be darknode instead of root. You'll also need to pass the key file which you can find in ~/.darknode/darknodes/DARKNODE-NAME/ssh_keypair. Let me know if that works for you.

pass the key file in ~/.darknode/darknodes/DARKNODE-NAME/ssh_keypair to where?

You'll need to pass the key file if you want to use ssh command directly, i.e.

ssh -i ~/.darknode/darknodes/DARKNODE-NAME/ssh_keypair darknode@0.0.0.0