Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

alicloud ssh key not accessible #372

Closed
tedteng opened this issue Oct 9, 2020 · 4 comments · Fixed by #378
Closed

alicloud ssh key not accessible #372

tedteng opened this issue Oct 9, 2020 · 4 comments · Fixed by #378
Assignees
Labels
platform/alicloud Alicloud platform/infrastructure

Comments

@tedteng
Copy link
Contributor

tedteng commented Oct 9, 2020

Describe the bug

(5/5) Starting bastion host
Starting bastion host...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Bastion host started.
Allocating bastion host IP address...
Bastion host IP address allocated.
Bastion host started.
Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.
Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.
ssh: connect to host 47.254.170.147 port 22: Operation timed out
kex_exchange_identification: Connection closed by remote host
exit status 255
Would you like to cleanup the created bastion? (y/n)
y
Cleanup
Cleaning up bastion host configurations...

To Reproduce
Steps to reproduce the behavior:
ssh alinode

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Gardenctl Version (please complete the following information):
gardenctl:
version : v0.21.0
build date : 2020-08-23
go version : go1.14.6
go compiler : gc
platform : darwin/amd64

Additional context
Add any other context about the problem here.

@tedteng tedteng added the platform/alicloud Alicloud platform/infrastructure label Oct 9, 2020
@neo-liang-sap
Copy link
Contributor

/assign

@neo-liang-sap
Copy link
Contributor

/Users/i352986/.garden/cache/canary/projects/garden/alicloud-eu1key

actually the key is /Users/i352986/.garden/cache/canary/projects/garden/alicloud-eu1/key, missing a /
will investigate why key for alicloud missing a / in path

@tedteng
Copy link
Contributor Author

tedteng commented Oct 12, 2020

I think there two issues in alicloud, but I don't have time to check ssh issue deeply at that time when I open the issue.
one is \ missing and another is ssh connection failure.

(5/5) Starting bastion host
Starting bastion host...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Bastion host started.
Allocating bastion host IP address...
Bastion host IP address allocated.
Bastion host started.
ssh: connect to host 47.254.174.139 port 22: Operation timed out
kex_exchange_identification: Connection closed by remote host
exit status 255
Would you like to cleanup the created bastion? (y/n)

issue one

Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.
Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.

issue two

ssh: connect to host 47.254.170.147 port 22: Operation timed out
kex_exchange_identification: Connection closed by remote host
exit status 255

@neo-liang-sap
Copy link
Contributor

I think there two issues in alicloud, but I don't have time to check ssh issue deeply at that time when I open the issue.
one is \ missing and another is ssh connection failure.

(5/5) Starting bastion host
Starting bastion host...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Waiting for bastion host to start...
Bastion host started.
Allocating bastion host IP address...
Bastion host IP address allocated.
Bastion host started.
ssh: connect to host 47.254.174.139 port 22: Operation timed out
kex_exchange_identification: Connection closed by remote host
exit status 255
Would you like to cleanup the created bastion? (y/n)

issue one

Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.
Warning: Identity file /Users/i333878/.garden/cache/canary/projects/i333878/ali-ali-001key not accessible: No such file or directory.

issue two

ssh: connect to host 47.254.170.147 port 22: Operation timed out
kex_exchange_identification: Connection closed by remote host
exit status 255

yes you are absolutely right, i opened #379 to track your issue two, thanks for reminding!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/alicloud Alicloud platform/infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants