SSH Connection Refused #375

Open
opened 2025-12-29 00:25:38 +01:00 by adam · 3 comments
Owner

Originally created by @shashank2086 on GitHub (Jun 17, 2022).

Disk is being copied between layers. Repeating until able to copy SSH key into OSX...
/usr/sbin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/arch/.ssh/id_docker_osx.pub"
ssh: connect to host 127.0.0.1 port 10022: Connection refused

i have tried all the fixes given before but still facing this issue. Is it happening because in background the OS is booting and if is it then how much time it can take because i have waited for around 2-3 hour but still getting the same error.

Originally created by @shashank2086 on GitHub (Jun 17, 2022). Disk is being copied between layers. Repeating until able to copy SSH key into OSX... /usr/sbin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/arch/.ssh/id_docker_osx.pub" ssh: connect to host 127.0.0.1 port 10022: Connection refused i have tried all the fixes given before but still facing this issue. Is it happening because in background the OS is booting and if is it then how much time it can take because i have waited for around 2-3 hour but still getting the same error.
Author
Owner

@sickcodes commented on GitHub (Jun 20, 2022):

I'll check the status of the auto images later this week. Are you using any additional command line options?

@sickcodes commented on GitHub (Jun 20, 2022): I'll check the status of the auto images later this week. Are you using any additional command line options?
Author
Owner

@shashank2086 commented on GitHub (Jun 20, 2022):

I got the issue, it was not able to consume the image of the path which i provided. But i have on query, i want to have dockerfile which will boot directly to OS without display and headless, i am able to do with the auto image but i am not able to boot with other images.

@shashank2086 commented on GitHub (Jun 20, 2022): I got the issue, it was not able to consume the image of the path which i provided. But i have on query, i want to have dockerfile which will boot directly to OS without display and headless, i am able to do with the auto image but i am not able to boot with other images.
Author
Owner

@sickcodes commented on GitHub (Jul 4, 2022):

ssh localhost -p 50922 is the port

@sickcodes commented on GitHub (Jul 4, 2022): `ssh localhost -p 50922 is the` port
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#375