Questions tagged [ssh-config]
90 questions
5
votes
2 answers
How to generate a certificate file which to be used with ssh config?
I have a configuration as below in my ~/.ssh/config file:
Host xxx
HostName 127.0.0.1
Port 2222
User gigi
ServerAliveInterval 30
IdentityFile ~/blablabla
# CertificateFile ~/blablabla-cert.pub
which works fine but I'm…

Adrian
- 701
- 1
- 8
- 29
0
votes
1 answer
ssh config: I have many hosts who I want to use settings from 2 different wildcard hosts respective, please review my attempt
I have 2 sets of hosts who I want to use settings from 2 seperate wildcard hosts.
I also have a huge number of hosts so need help on which style is best for this scenario. The hosts are mostly in the format of x1 x2 x3...
My attempts:
1:
host one
…

Nickotine
- 467
0
votes
1 answer
ssh config: can I replace proxy command?
Here is my standard work ssh config which everyone uses:
host go
User user
ProxyJump otherHostname
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
IdentityFile ./ssh/key
ProxyCommand ssh -i ~/.ssh/key -W %h:%p…

Nickotine
- 467
0
votes
1 answer
Placeholder in ssh config in HostName
I am trying to simplify the following part:
Host sandbox*
Port 22
User myUser
ProxyCommand=nc -X 5 -x gateway.test.io:1080 %h %p
Host sandbox9
HostName 1.0.9.10
Host sandbox10
HostName 1.0.10.10
Host sandbox11
HostName…

Mr.Tr33
- 101
-1
votes
1 answer
ssh config: can I have 2 host wildcards?
Simplified Example:
host one
user cat
host two
hostname 2
host three
hostname 3
host *
hostname 1
host *
user apple
identityFile ~/.ssh/id_rsa
host y
hostname 7
host t
hostname 8
host *
user duck
identityFile…

Nickotine
- 467