29,977 questions
Score of 1
1 answer
157 views
Maintaining a SOCKS connection over ssh in Python
TL;DR: what am I doing wrong with the commented out sock.connect()?
I can manage to connect via SSH with the code below (with sock.connect() and ssh.connect() commented out), but uncommenting it ...
Score of 0
3 answers
188 views
AWS-SSM / SSH (security)
There's been a recent argument being made that SSM is safer (or more secure) than SSH. While this may be true for very specific cases, I tend to disagree with the blanketing statement that SSM is ...
Score of 0
0 answers
175 views
git clone with submodules and partial clone filters fail with exit code 128
I am trying to clone a large project that has many submodules. The main project clones fine. But when it gets to the submodules, it stops and says:
# Running a blobless partial clone recursively fails ...
Score of 0
1 answer
83 views
is it ok to store user ssh_host , other details storing in db with encryption
I use node js , So i am creating a application for deployment with SSH or docker , for now in SSH , i do like
Asking inputs as ssh_host , ssh_user , remote path and ssh_key , however i use crypto ...
Score of -2
2 answers
196 views
How can I format a private SSH key as an environment variable for an Azure Function?
I have an Azure Function, written in Python, that copies a file via SFTP using paramiko and loads data from that file to a database. The private key file that I use to authenticate the connection was ...
Score of 0
3 answers
108 views
Given several authorised public keys, how to identify the connected user from a Git hook?
I have a bare git on a remote server (no github or other type of managed git; just a git).
I created a ssh "git" user, with restricted perm and only git-shell access.
I intend to manually ...
Score of 0
0 answers
73 views
scp-action step fails while working locally with the same SSH key
I'm facing a problem with my GitHub Actions workflow. I have two steps at the end that are not being executed properly: one fails, and the other depends on it. Here's the relevant part of my workflow:
...
Score of 0
0 answers
39 views
SSH D2D Communication - PC and RaspBerry
I have some raspberrys that run some softwares, I want to be able to connect and configure then, update the software or extract some paramters. What are the Standards for D2D via SSH communication?
My ...
Score of 0
0 answers
123 views
HowTo: Executing Powershell Scripts from Gitlab via Linux Runners
Goal
Let Powershell Scripts run on existing Linux Runners (Container based, Gitlab), which connect via SSH to Windows Server and execute the powershell scripts. Basically I wanted to replace Scheduled ...
Score of 1
0 answers
93 views
Unable to connect Java Remote Debugger (JDB) over SSH to GitHub Actions instance
I'm trying to connect to a Java applications running in GitHub Actions with the Java Remote Debugger (JDB) over SSH.
Take a simple GitHub Actions workflow that:
opens an SSH connection to allow ...
Score of 3
1 answer
188 views
Credential Use With New-PSSession for SSH
I am writing a Powershell 7 script that connects from a Windows 10 device to multiple Linux hosts via SSH. I want to enter the credentials once using Get-Credentials, however when I run the script, I ...
Score of 0
1 answer
136 views
Can't connect in Jetbrains IDE RustRover to a remote docker via SSH (user/passord)
I can successfully ssh my remote linux mint host in my home (192.168) network and run commands like docker ps. The same config is set in my RustRover. I checked specifically that user/password is ok ...
Score of 0
2 answers
171 views
How to forward SSH for specific user to other server
Say you have an SSH server exposed to the outer web and a git server (or similar server that uses an SSH-based service) that is not publicly exposed but is locally addressable to the SSH server.
Your ...
Score of 0
0 answers
99 views
VS Code Remote-SSH and Cursor stuck at "Checking .log and .pid"
I am experiencing a persistent hang when trying to connect to a specific remote server using VS Code (v1.108) and Cursor via Remote-SSH. The connection process indefinitely stalls at the "...
Score of 0
0 answers
112 views
PHP exec() hangs during SSH command execution on RHEL 9 and returns no output or status
I am executing an SSH command on a remote host using PHP’s exec() function inside a foreach loop. Based on a condition, the command runs only during the 4th and 6th iterations. The same SSH command is ...