When I used ssh connected server, error is ssh: connect to host port 22: Connection refused
When I used ssh connect from GCP
I was checked firewall tag.it is well.
Connection via Cloud Identity-Aware Proxy failed
Code: 4003 Reason: failed to connect to backend Connection to VM is refused. Please ensure that: - VM has a firewall rule that allows TCP ingress traffic from the IP range, port: 22 - SSH daemon on target VM is up and running You may be able to connect without using the Cloud Identity-Aware Proxy.
I was changed match for user account.
May 23 16:39:44 [1440103]: line 146: Bad Match condition
May 23 16:39:44 [1]: sshd: Main process exited, code=exited, status=255/n/a
May 23 16:39:44 : sshd.service: Failed with result 'exit-code'.
May 23 16:39:44 :Failed to start OpenSSH server daemon.
May 23 16:40:27 : sshd.service: Service RestartSec=42s expired, scheduling restart.
May 23 16:40:27 : sshd.service: Scheduled restart job, restart counter is at 646.
May 23 16:40:27 : Stopped OpenSSH server daemon.
what should i do
The errors you are getting suggest that the SSH server is not working correctly. Most likely, there is a problem with /etc/ssh/sshd_config. Review that file and check the existence and format of "Match" blocks. Try searching the Web and see what the valid format looks like.
Thank you for your help!!
User | Count |
---|---|
26 | |
15 | |
5 | |
2 | |
1 |