On 8/26/20 8:07 AM, Garry T. Williams wrote:
On Tuesday, August 25, 2020 9:22:43 PM EDT Alex Regan wrote:
Hi, I have a fedora32 system behind a firewall without any access
from the outside. I'd like to build a reverse ssh tunnel so I can
get to it from my remote location while working remotely. I'm
familiar with how remote ssh tunnels work, but can't quite get
systemctl to create a proper service, presumably because ssh expects
to be tied to a terminal.
You probably want -t:
He's running it as a service, so he doesn't want a terminal. That will
cause problems. Someone already mentioned the "-n" option which
backgrounds the ssh process, detaching it from any terminals, but still
allows forwarding to work.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx