Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello.. very often I use VNC connection to my server to then use.. the console ! :-(
I'm wander if exist a way to achieve a permanent console session trough SSH.
As a "permanent console session" I mean a session that is started on the server and it runs independently from having a client attached.
So I can start a program, disconnect, and when I connect it back I am attached to the terminal again and see the progress of my program...
I know of nohup, but I would lost the interactivity...
screen. You need screen. The most underrated, awesome, shell app ever made.
Quick start guide:
Type 'screen' to start a new session.
C-a c to create a new shell.
C-a n and C-a p to go to next and previous shells.
C-a " to see a list of shells.
C-a d to detach a screen session.
'screen -r' the next time you want to reattach to that session.
"C-a c" means "hit Ctrl+A, and then hit C." All screen commands begin with Ctrl+A, followed by another key.
One of the (many) reasons screen is awesome is because you can detach a screen, disconnect from the server entirely, and it'll still be there whenever you come back. All you have to do is reattach it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.