30,059 questions
0
votes
0
answers
93
views
Ubuntu VS Code Remote ssh connection failed
Today I used the VS Code plugin Remote-ssh to connect to the server in Ubuntu 22.04. However, it failed after I prompted the password and clicked Enter.
I have tried:
changing the setting of Remote-...
0
votes
1
answer
76
views
"...SSH Permission denied (publickey,password,keyboard-interactive)" when running python script as service on raspi [closed]
I have a python script that runs as a service on raspi, the script executes a bash script which then connects to a windows pc via SSH using a key.
I have successfully use the same code to connect to ...
1
vote
1
answer
69
views
SSH-bound Go CLI Daemon – SSH Connects Successfully, but No Input Accepted
I'm building a custom CLI daemon in Go for Ubuntu.
When I run the CLI locally (without SSH), everything works correctly — for example:
admin@admin> whoami
responds as expected.
However, after ...
2
votes
0
answers
114
views
Using `git lfs` with SSH on GitHub gets stuck at `git-lfs-transfer`
I noticed that git lfs operations (push or pull but especially push) with GitHub keep getting stuck running git-lfs-transfer. This is slowing down all of my git operations which call git lfs via hooks....
1
vote
0
answers
127
views
Python SSH automation. Child process communication issues with /dev/tty
I am trying to automate SSH authentication on a jump server (bastion host) that requires both password and OTP. The script needs to:
Connect to SSH with authentication
Hand over control to the user ...
2
votes
1
answer
71
views
VsCode SSH Fails to Connect to CentOS: Failed to parse remote port from server output
I am consistently failing to connect to my CentOS server using the VS Code Remote - SSH extension. But I can connect and work successfully using a standard SSH client. The client PC and the server are ...
1
vote
1
answer
52
views
PythonAnywhere SSH working in CMD but not in Notebook
I have a paid account with PythonAnywhere, with MySQL DB. I am able to connect to DB using DBeaver and am also able to SSH using command prompt (ssh [email protected]).
However when I ...
1
vote
2
answers
86
views
PowerShell/ADO Pipeline: SSH Fails with key file in .ssh folder (space in path), fingerprint not accepted
I'm working on an Azure DevOps pipeline Classic UI that deploys a software package to multiple Windows devices registered in Deployment Groups.
The flow:
Copying SSH Keys:
We copy a private key file ...
0
votes
1
answer
201
views
ArgoCD “ssh: handshake failed... connection reset by peer” when connecting to GitLab via SSH
I’m trying to connect ArgoCD to a private GitLab repository using SSH.
I created a key pair and added the public key to GitLab.
Then I configured the private key and repository URL ([email protected]....
2
votes
1
answer
56
views
Closing file after SFTP upload still makes client retry the same upload in `close` sftp_response from paramiko
I run a custom SFTP Server using Paramiko that receives video files from NVR cameras and uploads it to a cloud storage. The flow is simple: The client (NVR) connects and authenticates, we write the ...
1
vote
1
answer
107
views
Remote Command Execution and Cleanup
Goal
Execute long running command remotely with the following capabilities:
We can kill the task with its PID
If task completes, its exit code should be written to file
Task should be detached from ...
2
votes
0
answers
64
views
How to use an SSH key with a passphrase for credentials in LibGit2Sharp v0.31.0?
I am using the LibGit2Sharp v0.31.0 release and trying to perform Git operations (like clone or fetch) over the SSH protocol.
According to the release information, SSH is now supported through libgit2'...
0
votes
0
answers
59
views
Backspace/delete key is not working, while working with ssh terminal
Recently, I worked on an SSH terminal built with xTerm and dartssh2. In this project, I integrated a hidden TextField with several event listeners that directly send input to the terminal. Everything ...
1
vote
0
answers
93
views
git push and clone hang indefinitely using ssh
I am using git to host a LaTeX paper I'm writing on both my desktop and laptop. However, it has recently stopped working on the latter. One morning, I was able to clone and push over SSH just fine, ...
0
votes
0
answers
89
views
Pass SSH socket to Podman Quadlet unit
Socket
For a backup service, I am trying to pass a SSH socket into a Podman container that is controlled by a Quadlet unit file. The socket is created by keychain in .bashrc:
# .bashrc
/usr/bin/...