There's a pure Git solution you can use in your global .gitconfig - I use an include.path config for personal stuff by default:
# default user email and key
path = .gitconfig-personal
and that file contains name, personal email (which is used for SSH and identifying my GitHub account), and GPG key ID:
If you don't care about whether Emacs is a "fully-functional" terminal or not and you just want it to work without making you press enter, then run the psql command \pset pager off. This will make psql skip running a pager program and just dump all the output at once. You can then scroll through the output using the Emacs scrollbar or scrolling ...
Using the temporary test AWS account, I have been able to access that file system via Tramp. Necessary configs are
If you use another AWS profile but default, you shall tell it to Emacs. Add to your ~/.emacs
(setenv "AWS_PROFILE" "my_profile")
Add your private key file to ~/.ssh/config
Host i-* mi-*
ProxyCommand sh -c "aws ssm start-session --target ...
Download and install iftop package, run a M-x term, then type something as:
$ iftop -i eth0 -f 'dst host 192.168.1.3'
-i local interface
-f filter code, as in pcap-filter man page, for destination host in the example.
There will be 3 speed rates in inferior right part of the screen, meaning that for 2, 10 and 40 seconds respectively.
The command /usr/bin/ssh -o ControlPath=%C 0.0.0.1 is used to check, whether your local ssh command accepts the ControlPath option. 0.0.0.1 is a non-existing address; ssh shall return immediately with an error.
In more recent Tramp versions, the blocking is avoided by using the command ssh -o ConnectTimeout=1 -o ControlPath=%C 0.0.0.1. I recommend to upgrade ...
To open a file when starting a new instance of Emacs you can generally do:
as described in man emacs:
emacs [ command-line switches ] [ files ... ]
If you use Emacs daemon and want to open a file within an existing
instance of Emacs you can do emacsclient "/ssh:server:file" as well
but it will ...
Emacs will start "in GUI mode" automatically when possible. There are basically 2 conditions that need to be satisfied:
You must use an Emacs built with GUI support.
There must be an Xserver it can connect to, which is indicated by the usual $DISPLAY environment variable.
So make sure your Emacs was built with GUI support, and make sure you launch it from ...
In my case, the cause was having started Emacs as a tab of GNU Screen and connecting to it by emacsclient. After restarting Emacs from within the X2Go session, the bidirectional clipboard started working again.
I've never heard of CyberArk Privileged Session Manager, but from your description adding it to tramp-methods shouldn't be too hard. The simplest way is probably to add an entry with
If you mean to use this config file in Tramp instead of ~/.ssh/config, you need to tell Tramp so in tramp-methods. Something like
(let ((args (assoc 'tramp-login-args (assoc "ssh" tramp-methods))))
What can I do about this issue? I'm using
psql, inside a ssh tunnel to ubuntu, inside a M-x shell, inside a emacsclient -nw
In short, "don't do that".
Emacs has excellent comint-based support for psql via M-x sql-postgres, and the sql-interactive-mode buffer created by that can interact with sql-mode buffers so that you can write queries in the ...