Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [ssh]

GENERAL SSH SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. Secure Shell (SSH) is a cryptographic network protocol for secure data communication. Use this tag for programming questions related to Secure Shell. Common authentication and configuration problems are off-topic for Stack Overflow.

ssh
0 votes
1 answer
17 views

ssh permission denied while running jenkins

+ ssh -i /home/ubuntu/myphpApp/key.pem [email protected] /bin/bash Warning: Identity file /home/ubuntu/myphpApp/key.pem not accessible: Permission denied. [email protected]: Permission denied (...
Patil's user avatar
  • 1
0 votes
1 answer
19 views

Cloning specific Git repo from inside WSL2 fails

I recently set up Ubuntu 24.04 LTS Noble Numbat inside of Windows Subsystem for Linux version 2 on a system running Windows 10 22H2 on a secure enterprise network (with proxies and firewalls). It has ...
Joshua Schroijen's user avatar
-1 votes
0 answers
10 views

Shell Script not able to access SSH_AUTH_SOCK environment variable

I am trying to build a docker image through a script, this script or any other script which I have tested with is not able to access SSH_AUTH_SOCK variable, when i echo in terminal it works, but when ...
arpit pundir's user avatar
2 votes
3 answers
68 views

Using sed to remove differences in two arrays (updated ssh keys)

My aim is to updated automate the update of ssh keys in the authorized_keys file. Due to restrictions i am unable to use ansible which would have been a lot simpler. Steps: read keys from the file ...
Drey''s user avatar
  • 25
0 votes
0 answers
7 views

Remote-Explorer: grouping of some ssh hosts

Is it not possible in VisualStudioCode to group the hosts somehow to become a better overview? thanks a lot for any help. Extension is: Remote-Explorer together with Remote-SSH I searched in the ...
rstalder's user avatar
1 vote
1 answer
32 views

Is there a way to make two pings in one SSH session?

I'm trying to make a script that makes a connection via ssh to a cisco switch, and right there makes two pings one after the other. The problem is when I'm doing it - the output in the second ping is &...
Seggenz's user avatar
  • 15
-1 votes
0 answers
50 views

sftp client certificate authentication

I'm looking for a sftp library that supports authentication with client certificates? I setup a test system according to the following description: https://goteleport.com/blog/how-to-configure-ssh-...
sge's user avatar
  • 641
-1 votes
0 answers
29 views

EC2 instance ssh: connect to host ipaddr port 22: Operation timed out on MacOS

new developer here! I just signed up for my EC2 Windows2022 instance and would like to connect it from my Mac (M2, Sonoma14.5) terminal using SSH, but all trials failed with the error: "ssh: ...
Lucy's user avatar
  • 1
-1 votes
0 answers
19 views

EC2 SSH not Connecting

Body: I have previously connected to my EC2 instance using SSH without any issues. However, after turning off the EC2 instance and turning it back on, I can no longer connect via SSH. Here are the ...
brocode5253's user avatar
0 votes
0 answers
13 views

Configuring SSH port forwarding for Django app on VPS: Browser access issues

I am running a Django application on my laptop at port 8000. The app works locally and I want to make it accessible to others over the internet via SSH remote port forwarding to a VPS. I've connected ...
Amir's user avatar
  • 53
1 vote
1 answer
28 views

How to convert ssh public key to PublicKey in java

I want to convert my ssh public key in *.pub file to a PublicKey(java.security.PublicKey). The reason is that I need to inspect the algorithm of the ssh public key, is there any way to do that? since ...
Bohyun's user avatar
  • 11
0 votes
0 answers
41 views

Apache Mina SSH failing because "No more authentication methods available" for NETCONF application

I'm trying to SSH to a network device but am currently failing the authentication. I'm able to connect via the command ssh -i /home/usr/private_key [email protected] but am having no luck with ...
steve's user avatar
  • 1
0 votes
0 answers
25 views

ssh into remote servers, get systeminfo and print out in local terminal [duplicate]

I have the following script and when I run it, I don't get the expected output to the local terminal. I am assuming it must be the variables that I am assigning in the heredoc that is not getting ...
JKC's user avatar
  • 25
1 vote
0 answers
33 views

how to log failed SSH logins in a PAM module

I have been working on a pam module which logs logins for any SSH user I have a simple piece of C code which logs the login to a log file I cannot figure out how to record failed logins I have ...
moses's user avatar
  • 11
0 votes
1 answer
13 views

PyCharm remote deployment with screen affects serial interface

I have a flask app.py that I'm developing on my local machine. The flask app uses a serial interface (pyserial) that is connected to a remote machine. I setup PyCharm for remote deployment on the ...
Knyq's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
2016