Category "ssh"

Docker, how to deal with ssh keys, known_hosts and authorized_keys

In docker, how to scope with the requirement of configuring known_hosts, authorized_keys and ssh connectivity in general, when container have to talk with exter

how to rsyslog reads from a socket inside a jail environment

I have two sftp servers behind a loadbalancer where users log on in a chroot environment. Sometimes the user log in server1, sometimes in server 2. Also, there

How to avoid executing commands as root using phpseclib's library?

Currently I'm executing all commands as root, which is a very bad idea and unsafe as I read. I want to execute the commands in a secure way. An example of curre

VSCode Remote SSH Connection Failed

I'm trying to use the Remote-SSH extension to edit files on a Debian server. The SSH connection is established correctly but then I get an error message : Fail

"Unable to negotiate" with AWS CodeCommit: "no matching host key type found"

I'm trying to connect to AWS CodeCommit with SSH. I've followed every step in this guide: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-ssh

How to connect EC2 instance to Netbeans remote server?

I am trying to connect my AWS ec2 ubuntu instance to the Netbeans. While I am trying to connect with Netbeans Remote server then, It is showing the following er

Failed to ssh to machine after installing Docker

My ssh stops working after I successfully installed Docker (following the official site instruction https://docs.docker.com/engine/installation/) on an ubuntu m

How can i count Get-SFTPChildItem folder size together?

I need help with my Project I'm trying to display the size of a folder called sh-modules but only thing I can achieve is displaying individual subfolder sizes..

Linux Azure web app service remote debugging

The only known way to debug a Linux Azure web app is to create a TCP tunnel between your machine and Azure which is explained here. I am able to create the tunn

tramp never stops asking for password

I've having serious trouble using tramp on Emacs. I am continuously being asked for my password when I ssh into a server via tramp. This is to the point where i

x2go resolution from windows client

I'm happily using x2go to connect to a remote Ubuntu Server 16.04 with XFCE installed from my local pc with a local resolution of 1920x1080 on a HiDPI screen (1

cannot pull Git remote repository from Sourcetree

I Generated ssh keys and configured my git and SourceTree. I could git pull and do other operations from Git-bash. Note: I have added the following in .bashrc

ssh with 2 accounts in gitlab doesn't work

I'm trying to add 2 ssh keys in my pc to work with 2 gitlab accounts, I created 2 pair of keys and made this "config" file: # Compte Perso Host gitlab.com-perso

C# SSH port forwarding with SSH.net

I'm trying to do the following thing in a C# program with SSH.NET : ssh -NfD 1080 [email protected] Here's the code I produced : using (var client = new Ssh

Paramiko SSH failing with "Server '...' not found in known_hosts" when run on web server

I am trying to use Paramiko to make an SSH communication between 2 servers on a private network. The client server is a web server and the host server is going

Run wget command via ssh remotely but connection timeout

I've been struggling with this for 2 days already. I have 2 linux machines A and B and trying to run the following command from A remotely (as it would be done

Mobaxterm: how to keep sftp connection alive?

I kept ssh connection alive following this post: Mobaxterm: how to prevent ssh session from exiting? I managed to keep ssh connection alive but sftp connection

How to add an ssh key to an GCP instance using terraform?

So I have a terraform script that creates instances in Google Cloud Platform, I want to be able to have my terraform script also add my ssh key to the instances

Python mysql-connector hangs indefinitely when connecting to remote mysql via SSH

I am Testing out connection to mysql server with python. I need to ssh into the server and establish a mysql connection. The following code works: from sshtunne

How to run functions and local resources over SSH in a shell script

I have a shell script file like this: #!/bin/bash CONF_FILE="/tmp/settings.conf" #settings.conf contains OS_NAME="Caine Linux" source $CONF_FILE display_os_n