I'm writing a script and I'd like to ssh into a.b.c.d and execute the export command and keep the ssh terminal open after running the command.
The default behaviour is for ssh to quit after running the supplied command(s)....
Here's what I'm doing right now:
ssh -Y -l johndoe a.b.c.d "export DISPLAY=xxxxxxx"
The default behaviour is for ssh to quit after running the supplied command(s)....
Here's what I'm doing right now:
ssh -Y -l johndoe a.b.c.d "export DISPLAY=xxxxxxx"