Questions tagged [ssh-config]
63 questions
1
vote
1 answer
Ansible Fetch module error - broken pipe caused by ssh_config
Using the fetch module I get a module error. When I run the playbook with -vvvv I get the following debug output,
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf…

Gee_k
- 71
- 2
- 12
1
vote
0 answers
Ssh config for Jenkins when using helm and k8s
So I have a k8s cluster and I am trying to deploy Jenkins using the following repo https://github.com/jenkinsci/helm-charts.
The main issue is I am working behind a proxy and when git tried to pull (using the ssh protocol) it is failing.
I am able…

Alizkat
- 63
- 6
1
vote
1 answer
How to connect some graphical sql tool to database via ssh AND docker
I would like to connect my GUI database tool to my SQL Database via ssh and docker.
Currently a can connect do database via terminal using ssh user@host and some docker-compose exec mydb ... command. But then, it's of course a command line access to…

TLeM4
- 11
- 1
1
vote
0 answers
OpenSSL version mismatch, but for only a specific user
We upgraded our Linux server from SLES 12 to SLES 15.
Since then, one particular user on the server is not able to run ssh commands due to error:
OpenSSL version mismatch. Built against 1010009f, you have 10100060
userRED is not able to use ssh…

RustyNails
- 11
- 2
1
vote
1 answer
Git pull doesn't work without running ssh-add -K previously on Azure
My ~/.ssh/config
Host MyAzureAlias
HostName ssh.myhostname.azure.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa_azure_key
Host MyBitbucketAlias
HostName bitbucket.org
AddKeysToAgent yes
UseKeychain yes
…

Link
- 669
- 7
- 20
1
vote
1 answer
How to set ControlMaster with Remote-SSH in Visual Studio Code?
I use Visual-Studio-Code with Remote-SSH extension and I don't want to authentiaction multiple times after I login. So I search the ControlMater option with ssh_config to setup.
After I connected and I got below error message.
Can't connect to…

max533
- 23
- 8
1
vote
1 answer
SSH Config Dynamic Port with ProxyCommand and BASH Script
I've got a server setup to randomise it's SSH Port after a certain amount of time and publish the port to a .txt file available on it's web server. I have then written a simple script on my client which fetches the new port from the web server .txt…

kingmilo
- 147
- 2
- 11
1
vote
3 answers
Dynamic aliases to host in ssh config
Imagine we have dynamic number of hosts of pattern
test-1.mydomain.com
test-2.mydomain.com
test-3.mydomain.com
...
test-n.mydomain.com
I'd like to ssh on each of those machines by not using full name
ex. ssh test-7.mydomain.com
but simply by doing …

user1468980
- 21
- 2
1
vote
1 answer
Tell SSH to to use special IdentityFile for special user
I need to tell SSH to use special IdentityFile for special user.
For example host specs wizard@host1.com wizard@any-other-host.org should use key ~/.ssh/id_wizard
I'd like to write
User wizard
IdentityFile ~/.ssh/id_wizard
but there is no such…

kyb
- 7,233
- 5
- 52
- 105
1
vote
0 answers
define ssh config file in centos 6.9 after delete
I am working with centos 6.9 . I unconsciously deleted the ssh_config file which is located in /etc/ssh.
Any idea please to restore it , or to rewrite it?
Thanks a lot
user7770873
1
vote
1 answer
Advance ssh config file
How to ssh directly to Remote Server, below is the details description.
Local machine ---> Jump1 ----> Jump2 ----> Remote Server
From local machine there is no direct access to Remote Server and Jump2 is disable
Remote Server can only be accessed…

Shanker
- 45
- 1
- 7
1
vote
1 answer
How to make .ssh/config file Hostname configurable
I am trying to set up ~/.ssh/config file and want to make the hostname configurable
ssh pe1-cl1-bo1 should resolve to perf1-client1.app.bo1.host.in
ssh pe1-c2-bo3 should resolve to perf1-client2.app.bo3.host.in
i.e
pe -> expands to perf
cl ->…

user1918858
- 1,202
- 1
- 20
- 29
0
votes
0 answers
How to return more than one line from ssh config LocalCommand when doing LocalForward
I wish to do a local forward of port 8888:localhost:8888 so that I can ssh to my home network and get redirected to my main computer and run a jupyter notebook there.
For convenience I want to make it a ssh config and have the shortcut return the…
0
votes
1 answer
How to escape a # username in ~/.ssh/config file
I am on macos monterey & have the following in my ~/.ssh/config:
Host foo
HostName cyberark.company.com
User user@user#company.com@target_vm
ssh foo from my terminal has #company.com@target_vm portion of my User value automatically truncated…

shiraz73
- 1
0
votes
1 answer
How can I open the ~/.ssh/config file as a text file instead of opening the TextEdit app on Mac?
I have been trying to add my SSH keys to the ssh-agent by following the directions on this GitHub doc:…

nicotr
- 1
- 2