long running ssh function without tying up a term?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Got a situation where I have a machine A connecting to machine B, by
way of a reverese SSH connection. I also want to have a machine C be
able to connect to  machine B, and then connect to machine A..

My issue/question.. the initial reverese SSH from A-> B needs to be
created, and then left alone, to run as long as required.. might be
hours/days...

but on machine A, I don't want to create a term, just for the sake of
running the reverse SSH.. I'd like to have a way of running the
reverse SSH, and then not having the term stick around..

I've looked at Screen/nohup but couldn't see a way to make this work..

Thoughts/comments appreciated.

Thanks

sshpass -p pass ssh -R 2000:localhost:22 user@xxxxxxx -p 50122

-creates the initial reverse ssh, but it leaves the opened
term/connection as well

-I'd like to basically create the connection/process/port on machineB,
and but machine A's connection in the background so to speak, as
opposed to having a term session sitting around.

thanks
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux