Why doesn't my SSH key work for connecting to github?

Note: I'm not a newb, and I've done this a gazillion times, but for some reason today it decided not to work. I keep getting the Permission denied (publickey). error message when trying to connect...

Automatically enter SSH password with script

I need to create a script that automatically inputs a password to OpenSSH ssh client. Let's say I need to SSH into [email protected] with the password a1234b. I've already...

TortoiseGit with openssh key not authenticating using ssh-agent

I'm setting up a git environment on Windows XP (msysGit 1.7.11, TortoiseGit 1.7.14) and trying to achieve following points : ssh connection on a port different than default 22 ssh...

Can't ssh to AWS EC2: Identity file not accessible

I'm unable to ssh to my EC2 server and am getting the error: ssh -i /Users/Skeniver/Keepass/skeniver.pem [email protected] Identity file /Users/Skeniver/Keepass/skeniver.pem not accessible: No...

SSH suddenly asking for password

General problem I have my computer (Mac OSX 10.9.4) and a remote server (Ubuntu 14.04.1 LTS). I used ssh-keygen to create an ssh key (with no passphrase), added the public key to the server's...

SSH Key: “Permissions 0644 for 'id_rsa.pub' are too open.” on mac

I generate a ssh key pair on my mac and add the public key to my ubuntu server(in fact, it is a virtual machine on my mac),but when I try to login the ubuntu server,it...

getting a java.lang.ClassNotFoundException when starting a Docker container

I am having a problem starting a .jar file within a Docker Container. The error message I am getting is: Exception in thread "main" java.lang.ClassNotFoundException: ccinfw.MainApplication I...

"Host key verification failed" on Gitlab_ci although ssh_key is present

"Host key verification failed." on Gitlab_ci when running "ssh [email protected]" Here's a part of my gitlab_ci which is supposed to login to my server and run scripts from the repo: script: - which...

Why does node.js install two 'node_modules' folders?

Whenever I try to run npm install or npm start I get this error: bash: line 0: cd: packages/react-scripts: No such file or directory npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR!...

GITLAB CI Error loading key "/dev/fd/63": invalid format ERROR: Job failed: exit code 1

Here is my code giltlab-ci.yml : before_script: ## ## Install ssh-agent if not already installed, it is required by Docker. ## (change apt-get to yum if you use an RPM-based image) ## ...

How to inject spring beans into the hibernate envers RevisionListener

I am using Spring 5.1 and Hibernate 5.3.9 including hibernate-envers. I don't know how to inject spring beans into the hibernate envers custom RevisionListener. I have tried (@Service or...

Why won't Docker load Tidy?

I'm trying to use phpdocx in order to create a docx file from HTML in a laravel api application. In order to use this conversion tool, it is necessary to have Tidy installed. I've included tidy in...

npm: command not found - Gitlab CI specific runner

I am running gitlab-runner on my server, I am not using docker for deployment. I am trying to achieve the deployment on a remote server by doing ssh to the server. This is my .gitlab-ci.yml file...

SSH-forwarding during build only works for root

Here's a Dockerfile that works: # syntax=docker/dockerfile:1.0.0-experimental FROM debian:buster-slim as base # setup APT operation for noninteractive use # This avoids a bunch of warnings like #...

conda install packages error: Collecting package metadata (current_repodata.json): failed

When I use 'conda install' to install packages, I always get an annoying error: Collecting package metadata (current_repodata.json): failed The detailed report can be seen through this link: error...

SSH "kex_exchange_identification: read: Connection reset by peer"

The setup: Raspberry 3B running Raspbian Stretch 9 on an external HDD and using ZRAM Raspi used as a webserver running LAMP and MERN stacks and accessed remotely via SSH with 1 IDE (Coda for Mac...

Yubikey Openssh sign certificate integration

Actually, I use my YUBIKEY for ssh authentication with PKCS11 PIV tool. I follow this step : https://developers.yubico.com/PIV/Guides/SSH_user_certificates.html at the end of this developer Guide...

How to login by ssh in Alpine Linux without passwords?

I'm using a Android cell phone. I write python program and run the program in Termux. But there some lib can't be installed or use in Android cell phone, sklearn and tensorflow for example. So I...

python run bat file to setup environment variables

i have a .bat file which executes multiple set command to add environment variables, for further scripts to execute, i tried below code which is not working import...

Maven is not using Java 11 - Fatal error compiling: invalid target release: 11

I am trying to compile my project with Java 11. When I try to run the application with Java 8 as the Java version in pom.xml, it works fine. But when I try to run it with Java 11, it throws an...

Azure functions node error when doing npm start

I am trying to run my azure functions locally by doing npm start or even the simple func start. It was working perfectly until today when the following error started coming: The func.deps.json...

Why can I not ssh into RHEL 8.2 when sshd is running and port 22 shows it's open?

I installed RHEL 8.2 with a free developer license (bare hardware), it looks like sshd is installed, running by default with port 22 already open, I did not have to do anything to install sshd or...

AWS EC2 Will Not Import OpenSSH ECDSA Key

I want to import an ECDSA key into AWS EC2. Is it true that AWS EC2 only imports RSA keys, and not ECDSA or ED25519 keys? If there is a way to import an ECDSA key, how would that be done? #...

SSH protocol v.1 is no longer supported

Trying to scp files to my server like I've done every day for years... got this weird error today: client$ scp filename.file server:/path/to/somewhere/ SSH protocol v.1 is no longer...

Building Go apps with private gitlab modules in Docker

I am trying to build my go apps on a docker file. Inside my go.mod there is private package that needs authentication/ssh. This question is similar to...

Laravel 8, Docker Apline and Xdebug

I have created my own docker-compose and DockerFiles for a Laravel app. Everything is working as expected, but I can't get Xdebug to work. I've run through a few tutorials on Xdebug with Windows,...

How do you debug using 'Code::Blocks 20.03' (the "mingw" version)?

I have built a Console Application using Code::Blocks 20.03, which was installed using codeblocks-20.03mingw-setup.exe. The defaults for the installation directory(see Note01) and the installation...

Fatal Error: The pgAdmin 4 server could not be contacted: (Windows 10 Pro)

This the error in my PGAdmin4. I have deleted data from AppData (Roaming) and also tried to run it as Admisitaror. But no solutions for this problem has been found by me. I am trying to solve this...

Flutter Daemon failed to start

I am getting this warning every time I open VS code. Are there any ways to solve this problem? Thank you. I added the log of this warning. I have tried flutter clean and flutter doctor and...

PHPSeclib Public Key Authentication Successful on Localhost; Failing when deployed

I've created a script which connects to a server using the phpseclib extension, using public key autentication (as you see here), by generating a key pair using ssh-keygen. What I'm facing now is...