LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Remote admin questions... (https://www.linuxquestions.org/questions/linux-networking-3/remote-admin-questions-196012/)

Irving 06-21-2004 10:53 AM

Remote admin questions...
 
I'm working on a server running gentoo linux. I'm installing X, but not kde or gnome or anything fancy like that. I'm planning on using it mostly through the Bash console, and I would like to do it remotely. I have set up ssh and am able to terminal in just fine.

However, I want to be able to start server programs (games, file downloading, ftp etc) remotely, and have them keep running after I close the ssh connection. It would also be optimal to be able to login again from another machine and be able to continue the same session from where I left off after closing the connection the first time.

Is ssh the wrong program for this?

AndrewKey 06-21-2004 11:28 AM

try something like VNC, which actually shows you the screen, but everything is running locally. When you close the VNC session, things keeps running and you can reconnect with VNC and continue to see/use.

Think on VNC just as a video/keyboard/mouse extender.

You can even use VNC securely on the internet with little effort (with PUTTY and a linux server establishing an SSH tunnel through a firewall).

Regards,

Irving 06-21-2004 12:15 PM

Yeah, I was thinking I wanted something that would act like VNC... I've tunneled VNC through ssh before to get through some crazy firewalls. But can that work in a bash-only mode? I was hoping I could get by without running X unless I really needed to.

stickman 06-21-2004 10:18 PM

Another option is to nohup your processes so that they run after your session disconnects.

DraZtiK 06-21-2004 10:46 PM

You should be able to start your FTP as a service "service ftpd start" or vsftpd or whatever one you run. any thing else can't you create a start/stop/restart script, then SSH to the box to start them? thers plenty of startup scripts out there for most game servers.

Irving 06-22-2004 12:46 AM

That's a great idea! I don't have any experience with doing that, but I'll research it.

Gnuru 06-22-2004 05:17 AM

If you want to start server daemons than yes, doing stuff like 'service ftpd start' is the thing to do.

However, if you want to run client programs on the server such as ftp downloads. The program to do this is GNU screen .

First, ssh to the server. Fire up screen and you're away. More details on the screen man page and a few details here:

http://gnuru.org/index.pl?node_id=690

Irving 06-22-2004 09:52 AM

Wow, that's perfect!!! Thanks so much!


All times are GMT -5. The time now is 09:42 AM.