Questions tagged [ssh-config]
63 questions
0
votes
0 answers
ssh password replay using ~/.ssh/config
We are currently doing a POC where, ssh-key pairs is not allowed, meaning, we have to use password with strict 90 days password expiration imposed. So, as part of POC, assume the username is "acme", which is, we have to log into…

Hare Krshn
- 41
- 4
0
votes
1 answer
Changing the SSH client in Git after you've installed it
Hi We've just started using Git. I went through the install instructions as written down by our Tech support group. I used the defaults they've suggested. However there are certain settings I picked the default for at this time which I might wish to…

Carbon
- 313
- 3
- 11
0
votes
1 answer
SSH Config ProxyJump - Port forwarding from proxy
i have a question regarding port forwarding in combination with proxy jump in my ssh config:
Is it possible to make use of DynamicForward from the host used as proxy? Here's my config:
Host proxy
HostName proxy.private.com
User user
…
user18106975
0
votes
1 answer
Permission to user1/repo denied to user2, can't push to two accounts without changing settings each time
I've seen some similar questions (in fact have tried the solution to every single one I've seen) but none have solved this. Essentially, I want to push to two different Github accounts without changing my config file every time.
I am trying to push…

perihelions
- 5
- 2
0
votes
1 answer
What is the .ssh/config corresponding option for ssh -N
I am trying to set up an alias in my config that should give the same result as
ssh -N -L 3307:1.1.1.1:3306 username@remoteip
My current .ssh/config looks something like this.
Host connect
User username
HostName remoteip
port 22
…

Prajwal Raju P
- 180
- 1
- 3
- 12
0
votes
1 answer
Merge ssh config
Is there a way to merge the ssh config file into one session?
Such as
$ vim ~/.ssh/config
Host sshtest1
HostName 192.168.1.11
User ec2-user
Host ssttest2
HostName 192.168.1.12
User ec2-user
into
Host sshtest?
HostName…

Bill
- 2,494
- 5
- 26
- 61
0
votes
2 answers
SSH using old possibly cached user for connecting to GitHub
Mac OS (High Sierra) here. I have an SSH key, example-gh-user, and when I run pbcopy < ~/.ssh/example-gh-user.pub and paste it into an editor I see:
ssh-ed25519 me@example.org
Obviously for security reasons I am…

hotmeatballsoup
- 385
- 6
- 58
- 136
0
votes
1 answer
ssh config - send selected keys to agent
I'm writing my ssh config file and want to send agents with selected keys. No keys are to leave my local machine and the sent agents may only have the necessary keys. All keys require passwords. I don't want to type password multiple times in…

Markus Schmassmann
- 125
- 4
0
votes
1 answer
Unable to connect AWS EC2 Instance using SSH
I am unable to access Linux EC2 instance through SSH or browser-based SSH.
Instance id: i-01a3cdf3b36ff6d4f
Inbound rules:
HTTP TCP 80 0.0.0.0/0
SSH TCP 22 0.0.0.0/0
Outbound rules:
All traffic All All 0.0.0.0/0
Pls check below logs after running…

Bhushan Tembhurne
- 61
- 1
- 6
0
votes
1 answer
Why wont vagrant use my ssh config when using the box_url option with scp
Im trying to distribute a packaged base box and I want to use one of my existing servers that global developers have access to with a pem file.
I am aware of vagrant cloud but that is not an option in this case.
It looks like the packaged curl…

Deac Karns
- 1,191
- 2
- 13
- 26
0
votes
1 answer
Using PROXY: command-line: line 0: Bad configuration option: ProxyUseFdpass?
For security concerns, needed to set GCP Compute Engine instance to not have External IP (external ip = None). In that case, it defaults to Identity Aware Proxy. IAP - to the same targets - does succeed from other machines, but not some in my data…

bruce
- 209
- 2
- 8
0
votes
1 answer
OpenSSH Windows 10 Force keybased login
So, I have configured a key based login:
Generated the key
Added it to the server side
Brought it to the client (and transformed to Putty format)
Logged in succesfully with the key
but now I would like to force all connections to use the keybased…

paloman
- 160
- 9
0
votes
1 answer
ssh using @ without a username
Im doing some setup via the following guide,
https://www.ovirt.org/develop/dev-process/working-with-gerrit.html
Theres a step to verify the ssh config but it involves doing
ssh @gerrit.ovirt.org
This looks like a typo, don't we need a user for…

Grif Pete
- 11
- 5
0
votes
2 answers
Accessing ~/.ssh/config aliases from bash and python
I use ~/.ssh/config to manage hosts that I need to interact with frequently. Sometimes I would like to access the aliases from that file in scripts that do not use ssh directly, ie if I have a .ssh/config with
Host host1
User user1
Hostname…

Daniel Mahler
- 7,653
- 5
- 51
- 90
0
votes
1 answer
ssh to VM through bastion with key
I am trying to SSH to EC2 through bastion(jump-box), but had an issue with it. I tried it with .ssh/config and it worked. But I want to do it as a command NOT with .ssh/config (I know its the correct way)
local-host ---> bastion ---> ec2
ubuntu user…

roy
- 6,344
- 24
- 92
- 174