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

I get permitrootlogin error on fludstack. #3508

Open
qashzar opened this issue May 3, 2024 · 1 comment
Open

I get permitrootlogin error on fludstack. #3508

qashzar opened this issue May 3, 2024 · 1 comment

Comments

@qashzar
Copy link

qashzar commented May 3, 2024

RuntimeError: Failed to SSH to 38.80.122.92 after timeout 600s, with Error: /etc/ssh/ssh_config: line 26: Bad configuration option: permitrootlogin

Version & Commit info:

  • sky -v: skypilot, version 0.5.0
  • sky -c: skypilot, commit 1e4e871

fluidstack does not permit root login in as far as I know, so it uses the key for that. Somehow, it seems that a key is created for this for some reason ssh fails. Additionally, it doesnt have necessarily the root but ubuntu for example.

@qashzar
Copy link
Author

qashzar commented May 3, 2024

apparently this fix the issue:
ssh-keygen -y -f ~/.ssh/sky-key > ~/.ssh/sky-key.pub

for some reason there was no pub for the key in the directory

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

1 participant