Category "ssh"

Controlling account that runs ansible script vs. ssh account that connects to target server

Scenario: two linux servers; First is ansible controller node - srvControler. Second server is remote target - srvTarget. On ansible controller node (srvControl

Why can't I get an rsa key fingerprint for Github instead of a ED25519 key fingerprint?

I'm starting a coding bootcamp pretty soon and in a tutorial they have given me they tell me to only accept an rsa key fingerprint of SHA256:nThbg6kXUpJWGl7E1IG

Python win32com.client.Dispatch('ReflectionIBM.Session') via ssh

I'm trying to run a command via SSH on a vm windows in cloud. The command is sent by jenkins using a node with ssh connection. Actually everything seems to work

Pushing git tag to ssh protocol type link failes in jenkins

I have a repo: https://github.com/Elydasian/gatling-example I have a pipeline in jenkins ready, that checks out that repo, and after some building and whatnot,

How to connect over sshtunnel to remote sql server with "2 jumps" in python

after days of research and fails with this problem. Context: I need to connect remotely from a python script to a remote database and I have the following restr

Executing multiple commands with ssh, including evaluation of environment variables on the remote machine

I sometimes use ssh to run multiple commands on a remote host like this: ssh my_user@my_host "command1; command2" utilizing double quotes to send both commands

Connecting to an SFTP channel via proxy returns com.jcraft.jsch.JSchException: ProxySOCKS5: server returns 2

I'm trying to connect to a SFTP channel throughout a Proxy, per requirements of the customer. The connection should happen with autentication to the final end

SSH pm2: command not found

When I run this command from my local machine... ssh [email protected] "pm2 reload all" I get this error... pm2: command not found Running the command in t

How to save ssh password to vscode?

I am using vscode to connect to a remote host. I use Remote-SSH (ms-vscode-remote.remote-ssh) extension to do so. Every time I want to connect to the remote hos

Automatic restart of ip-phones via ssh and cron (sshpass, expect or other solutions)

The task is to remotely reboot ip-phones every night.sshpass:sshpass -p 12345678 ssh -o StrictHostKeyChecking=no [email protected] reboot In response: Connectio

Environment variables not defined in SSH AuthorizedKeysCommand (Docker)

I'm trying to make the private key SSH connection with LDAP. /etc/ssh/sshd_config AuthorizedKeysCommand /etc/ldap_ssh_authorized_keys.sh AuthorizedKeysCommandUs

How to change the ssh port connection on Windows?

I am trying to connect to GitLab with an ssh key from a Windows laptop. The problem is the port of the repository has changed, and I cannot manage to change the

I cant ssh to computers connected via Tailscale, but all other services work ok

I have 5 linux devices (Ubuntu 20's and Raspberry Pi's) in 3 different geographic locations. With Tailscale on each. I am unable to ssh between these machines,

Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH

I am trying to build an AWS AMI with packer. here is my packer conf: source "amazon-ebs" "base-alpine" { assume_role { role_arn = "arn:aws:iam::${var

How to connect to Azure SQL Database through a VM jump host using DBEaver?

What I have: Azure SQL Database on private virtual network Jump host - Whitelisted Azure VM that can connect to the Azure SQL Database Local machine --PuTTY--&g

Azure Cloud Shell : Permission denied (publickey)

I am trying to access a VM created with the ssh file and when i tried to execute the command , i am getting the following error, ssh azureuser@publicIpAddress

Reading command output with Paramiko invoke_shell/send/recv never finishes

I am trying to use send/recv function in Paramiko. According to what I see, the line throws an exception of timeout Evaluating: self.shell.recv(1024) did not f

VS code Remote Development problem with SSH connection (Windows to Linux)

I'm Currently trying to setup Remote developement environment with VS code. I have installed Remote - SSH plugin and edited my .ssh/config file as below Host AB

SSH key not working for git push unless recently logged in

Background I use SiteGround to host my websites. I have git repos set up for each of my sites on SiteGround. I use SSH keys for authentication. I just set si

The remote host may not meet vs code server's prerequisites for glibc and libstdc++ vscod

I was working on the host server. Everything was great till yesterday and today when I start my server, suddenly error occurs in VS code. And my server is not c