I'm trying to get tramp to use my ProxyCommand from my ~/.ssh/config (pasted below), specifically for AWS SSM. Should I expect this ProxyCommand to work, maybe something is wrong with my environment or how I'm invoking tramp? Or would tramp need changes to its source to support AWS SSM?
I try C-x C-f /ssh:i-8746484eadb75:/var/log
and it asks me if I want to create the directory or file y/n - never seems to even try connecting to the remote host or looking at my ~/.ssh/config and ProxyCommand.
Any pointers or direction would be most welcome, TIA!
Host i-* mi-*
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'"
User ec2-user
I'm using emacs 26.3 (9.0) on osx catalina 10.15.3.
Host i-*
is honored by tramp when connecting to something like/ssh:i-238427:/
. At least with my emacs 25.x. Maybe it helps to press <tab> on several occassions? What isAWS SSM
by the way?[email protected]