Hi ,
This is year 2021, same problem.....
has anyone found a solution?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
SSH CONNECTION CLOSE - Error: getaddrinfo ENOTFOUND Couldnt connect to main site container Couldnt connect to main site container:2222Error: getaddrinfo ENOTFOUND Couldnt connect to main site container Couldnt connect to main site container:22222Error: connect ECONNREFUSED 172.16.0.3:2222Error: connect ECONNREFUSED 172.16.0.3:2222Error: connect ECONNREFUSED 172.16.0.3:2222 CREDENTIALS
Getting the above error when i try to connect Azure APP--Service--> WEBServiceTesting --> SSH
Hi ,
This is year 2021, same problem.....
has anyone found a solution?
july 2021 and always same problem
Hi All, I have exactly the same problem.
Hi All, I have exactly the same problem as well.
RUN apt update && apt install openssh-server sudo -y RUN echo 'root:Docker!' | chpasswd RUN service ssh start
COPY sshd_config /etc/ssh/
#sshd_config file looks like follows Port 2222 ListenAddress 0.0.0.0 LoginGraceTime 180 X11Forwarding yes Ciphers aes128-cbc,3des-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr MACs hmac-sha1,hmac-sha1-96 StrictModes yes SyslogFacility DAEMON PasswordAuthentication yes PermitEmptyPasswords no PermitRootLogin yes Subsystem sftp internal-sftp
#within bootstrap.sh, started ssh server with echo "start ssh server" /usr/sbin/sshd
@Yardy, David I'm doing the same and have the same problems. When i execute the command "usr/sbin/sshd" by myself i get the following issue:
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
It seems we need privilege to do it (https://askubuntu.com/questions/639983/sshd-could-not-load-host-key)
In the post of SnehaAgrawal-MSFT (https://learn.microsoft.com/en-us/answers/questions/220501/azure-web-app-with-linux-container-ssh-login-issue.html) he writes at is point 5 the statement - "RUN chmod 755 /opt/startup/init_container.sh". But for me this is not working. I get the error "chmod: cannot access '/opt/startup/init_ssh.sh': Not a directory"
Perhaps anyone can work with this information for another hint to find a solution?