-
-
Save indraniel/93aacbb869040a4f93bc61e85fb60eda to your computer and use it in GitHub Desktop.
EMACS TRAMP setup for "gcloud compute ssh"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; TRAMP gcloud ssh | |
(add-to-list 'tramp-methods | |
'("gssh" | |
(tramp-login-program "gssh") | |
(tramp-login-args (("%h"))) | |
(tramp-async-args (("-q"))) | |
(tramp-remote-shell "/bin/sh") | |
(tramp-remote-shell-args ("-c")) | |
(tramp-gw-args (("-o" "GlobalKnownHostsFile=/dev/null") | |
("-o" "UserKnownHostsFile=/dev/null") | |
("-o" "StrictHostKeyChecking=no"))) | |
(tramp-default-port 22))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment