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

ssh connection refused #2

Open
dnharry opened this issue Jan 4, 2023 · 2 comments
Open

ssh connection refused #2

dnharry opened this issue Jan 4, 2023 · 2 comments

Comments

@dnharry
Copy link

dnharry commented Jan 4, 2023

Each time I try to ssh to the IMAGE, I receive the error prompt below
"ssh: connect to host localhost port 2202:Connection refused"

I have the verified that ssh service is running and have been able to connect to the host from the IMAGE.

A verbose run with "ssh -v ..." presents a log with below

"nicholas@Nicholass-MacBook-Pro N ssh -v ska@localhost

8.6p1, LibreSSL 3.3.6 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/e matched no

files debug1: /etc/ssh/ssh_config line 54: Applying options for

debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling

debug1: Connecting to localhost port 22. debug1: Connection established.

debug1: identity file /Users/nicholas/.ssh/id_rsa type -1

debug1: identity file /Users/nicholas/.ssh/id_rsa-cert type -1

debug1: identity file /Users/nicholas/.ssh/id_dsa type -1 debug1: identity file /Users/nicholas/.ssh/id_dsa-cert type -1

debug1: identity file /Users/nicholas/.ssh/id_ecdsa type -1

debug1: identity file /Users/nicholas/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/nicholas/.ssh/id_ecdsa_sk type -1 debug1: identity file /Users/nicholas/.ssh/id_ecdsa_sk-cert type -1

debug1: identity file /Users/nicholas/.ssh/id_ed25519 type -1

debug1: identity file /Users/nicholas/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/nicholas/.ssh/id_ed25519_sk type -1

debug1: identity file /Users/nicholas/.ssh/id_ed25519_sk-cert type -1

debug1: identity file /Users/nicholas/.ssh/id_xmss type -1

debug1: identity file /Users/nicholas/.ssh/id_xass-cert type -1 debug1: Local version string SSH-2.8-OpenSSH_8.6

kex_exchange_identification: Connection closed by remote host

Connection closed by ::1 port 22 Ck yinicholas@Nicholass-MacBook-Pro-% ssh -v -p 2282 ska@localhost

OpenSSH 8.6p1, LibreSSL 3.3.6

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/ matched no

files

debug1: /etc/ssh/ssh_config line 54: Applying options for debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling

debug1: Connecting to localhost port 2282. ssh: connect to host localhost port 2202: Connection refused)"

Please help

@manuparra
Copy link
Owner

Did you open the port within the tool ?

@Weugene
Copy link

Weugene commented Mar 2, 2023

Indeed it does not work. I specified the ports even ports to the internet.
see pictures:
Screen Shot 2023-03-03 at 00 36 54
Screen Shot 2023-03-03 at 00 36 59

Also, there is no clipboard, there it is very hard to code in side it. Also, I need to install some packages, how to open access to the internet? I enabled ufw, and it still does not work.

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

3 participants