Can't open display issue from CMD
Marco Atzeri
marco.atzeri@gmail.com
Sat Jan 16 10:48:39 GMT 2021
please reply to the mailing list
On 16.01.2021 06:36, Sal Bellofiore wrote:
> Hi Marco,
>
> Thanks for the prompt response. The reason why I don't get asked for a
> password is because I have setup the RSA public key, and that works fine.
>
> When you say to check the remote scripts, what scripts are you referring
> to? I am not running any remote (Linux) scripts, I am only sending
> commands like pwd, ls -la, etc.
>
> Thanks
>
> Sal
as also Achim reported the login scripts on the Linux server.
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html#Bash-Startup-Files
When you open a remote shell, it runs its login script:
"When Bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads and
executes commands from the file /etc/profile, if that file exists. After
reading that file, it looks for ~/.bash_profile, ~/.bash_login, and
~/.profile, in that order, and reads and executes commands from the
first one that exists and is readable"
More information about the Cygwin
mailing list