Questions tagged [ssh]

Use this tag if a question is about ssh

Filter by
Sorted by
Tagged with
0
votes
2answers
104 views

How to get the IDs of Docker Containers that belong to a Service, given the Service name or id

Background I'm trying to maintain some websites running in a Docker Swarm. I want to do security updates on them. In a non-Docker environment, like a VPS, my simple process is that I would connect in ...
1
vote
1answer
34 views

How to run a single one-time command on a kubernetes instance/pod

Currently I have a setup on AWS with 4 EC2 machines. They provide a web interface that among other things also has a database search. My recent project was to move the database search to AWS Elastic ...
0
votes
0answers
105 views

How to git clone over SSH in jenkins job using credentials system

I'm trying to set up a simple jenkins job that will clone a git repo. Most guides online suggest to use a username and password combination which is soon to be deprecated. Others involve generating ...
0
votes
2answers
73 views

network ansible command error: “msg”: “network os centos is not supported”

How do I get the ansible config for rolly below? remote: [nsaunders@rolly ~]$ [nsaunders@rolly ~]$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: ...
2
votes
1answer
142 views

Vault `SSH-CA` Elliptic Curve rather than `RSA`

Is it possible to use ECDSA(Elliptic Curve Digital Signature Algorithm) or EdDSA( Edwards-curve Digital Signature Algorithm) instead of RSA when configuring SSH-CA on HashiCorp Vault?
1
vote
2answers
2k views

Download an artifact from Nexus to Jenkins

I use ssh username and private key auth to download sources from Git, build the artifact and deploy it to my nginx server. Now I need to download an artifact as a zip file to Jenkins agent, prepare it ...
0
votes
2answers
2k views

Why can't I connect to Gitea using ssh via command line?

My computer: Windows 10 Pro 1909 I have a Gitea server running in my office, at local IP address 10.100.10.24, with SSH configured on port 22000. Gitea is configured to use port 3000 for HTTP. I'm ...
4
votes
2answers
350 views

Using SSH to open interactive session in ansible

Is there a semi-easy way to use Ansible to open an interactive session? I've spent a good amount of time making use of keys and other credentials stores to make a stellar ansible inventory file. ...
1
vote
0answers
44 views

How to get alert for LDAP issues

I want to run some script which checks for LDAP issue, and in case it found something, it sent me alert. I thought using ssh command with some generic user, but I'm not sure what is the response I'm ...
1
vote
2answers
47 views

Running Automation on Google Cloud Virtual Instances using Ansible

I'm trying to automate google cloud virtual instances remotely only using external ip addresses of virtual machines. I can ssh into the virtual machines using command line with user name ...
2
votes
2answers
128 views

How to SSH from Jenkins node to Jenkins node safely?

We have a Jenkins Job that builds something on node A and then needs to SCP it to node B. You can just put the SSH keys for node B on Node A, and SCP with an execute shell build step, however I ...
1
vote
0answers
25 views

How to mount ssh keys on ephemeral container from a Windows host? [closed]

I'm working on a container that uses Git to interact with some git repositories. But, to use Git it has to use the SSH keys that are stored on the Windows host machine. I tried two of the ways I could ...
1
vote
2answers
33 views

Automatically write new bash history to change-log file

Every time I ssh into a server I might issue some bash commands and then sign off (hup signal?). Is there a way to write the shell commands that I issued on the server to some changelog file? I want ...