moul/assh

ssh with key on gateway

palashgoel7 opened this issue · 1 comments

Hi,
I have a situation where ssh keys are placed in the jump server. I used ssh-add in vanilla ssh to add these keys to the agent and connect. How can I achieve the same with assh?

Host deploy
	Hostname 192.168.0.1
	User admin
	ProxyCommand ssh  entry 'ssh-add ~/.ssh/id_rsa && nc %h %p'
Host entry
	User <username>
	Hostname <entry host>
Host *
	ServerAliveInterval 60
	IdentityFile ~/.ssh/entry
	ForwardAgent yes

Duplicate: #375