Failed to connect to the host via ssh: Permission denied – CentOS
i am new to ansible i have installed ansible on ec2 instance (as a master VM) and now i want to setup my target node as a gcp vm so for that i have created a gcp vm and update…
i am new to ansible i have installed ansible on ec2 instance (as a master VM) and now i want to setup my target node as a gcp vm so for that i have created a gcp vm and update…
I am trying to clone github private repo in dockerFile to my ubuntu server. In order to authenticate it, I had to add id_rsa file into root folder. FROM python:3.8.12 RUN mkdir /root/.ssh ADD ./.ssh/id_rsa /root/.ssh/id_rsa RUN chmod 600 /root/.ssh/id_rsa…
I want to execute a docker command on a remote server. The problem is I don't know to escape multiple quotes. ret=$(ssh root@server "docker exec nginx bash -c 'cat /etc/nginx/nginx.conf | grep 'ServerName' | cut -d '|' -f1'") I get…
I'm trying to launch a new release of my application using docker but i have this new error when i run the'docker-compose up --detach --scale app=3' command : ERROR: for cc5610c2dbea_talent_redis_1 Cannot start service redis: mkdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/cc5610c2dbeae94427d0611e66d106aba7e4bf86e74b6a1147b0012e25403058: no space left…
I have a Python 3 application running on CentOS Linux 7.7 executing SSH commands against remote hosts. It works properly but today I encountered an odd error executing a command against a "new" remote server (server based on RHEL 6.10):…
I am attempting to have playbooks that run once to set up a new user and disable root ssh access. For now, I am doing that by declaring all of my inventory twice. Each host needs an entry that accesses…
WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions for 'D:Windows10azureazureuser.pem' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "D:Windows10azureazureuser.pem": bad permissions [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Problem We've had a working Ansible AWX instance running on v5.0.0 for over a year, and suddenly all jobs stop working -- no output is rendered. They will start "running" but hang indefinitely without printing out any logging. The AWX…
So i searched the first 2 pages of google for it but i cant seem to get it straight so, the problem is that i have the ip adress and the username and the password for the server and i…
I've got a local Swift Package Manager package that uses a private Github repo as a dependency. When I open the local package with Xcode, it fails to “Resolve Packages” with this error: Error while fetching remote repository: [email protected]:mayoff/Preamble.git Server…