alias ssh='rewrite-args ssh -X'
{
"debug": false,
"rewrites": [
{
"match": ".use1",
"replace": ".prod.us-east-1.postgun.com"
}
]
}ssh worker-n01.use1
/usr/bin/ssh -X worker-n01.prod.us-east-1.postgun.com
Download the latest binary release
OR
go install github.com/thrawn01/rewrite-args