Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to login the darkNode Machine In digitalocean #89

Closed
Ultraman95 opened this issue Jul 20, 2021 · 5 comments
Closed

How to login the darkNode Machine In digitalocean #89

Ultraman95 opened this issue Jul 20, 2021 · 5 comments

Comments

@Ultraman95
Copy link

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

@tok-kkk
Copy link
Member

tok-kkk commented Jul 21, 2021

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

@Ultraman95
Copy link
Author

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

@tok-kkk
Copy link
Member

tok-kkk commented Jul 27, 2021

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.

@Ultraman95
Copy link
Author

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

@tok-kkk
Copy link
Member

tok-kkk commented Oct 13, 2021

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

@tok-kkk tok-kkk closed this as completed Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants