0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 779
/ 2 Years ago, sun, august 7, 2022, 6:33:35
I have Ubuntu Gnome 14.04, up-to-date; nautilus
and nautilus-open-terminal
are installed and updated:
[romano:~] % wajig status nautilus nautilus-open-terminal
Package Installed Previous Now State
=======================-===============-===============-===============-=====
nautilus 1:3.10.1-0ubuntu9.7 1:3.10.1-0ubuntu9.7 1:3.10.1-0ubuntu9.7 install
nautilus-open-terminal 0.20-1 0.20-1 0.20-1 install
I noticed that the ssh-derived commands in the terminals opened by the right-click "Open in terminal" from nautilus windows kept asking my passphrase; upon further investigations, it results that a normal shell, started with CTRL-ALT-T or with the dash, I have:
[romano:~] % env | grep -i ssh
SSH_AUTH_SOCK=/run/user/1153/keyring-S6rI11/ssh
while in the "open in terminal" shell I have no trace of that environment variable:
[romano:~/education … -SAP-135/Lab-8] % env | grep -i ssh
[romano:~/education … -SAP-135/Lab-8] 1 %
...and generally, environment variables are passed to this shell:
[romano:~/education … -SAP-135/Lab-8] 1 % env | wc -l
70
Why is the SSH_AUTH_SOCK
shell variable not passed down? Is it possible to avoid it?
More From » gnome