LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2004, 10:53 AM   #1
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Rep: Reputation: 15
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?
 
Old 06-21-2004, 11:28 AM   #2
AndrewKey
LQ Newbie
 
Registered: Jun 2004
Location: Italian alps
Distribution: SuSE9
Posts: 6

Rep: Reputation: 0
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,
 
Old 06-21-2004, 12:15 PM   #3
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Original Poster
Rep: Reputation: 15
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.
 
Old 06-21-2004, 10:18 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Another option is to nohup your processes so that they run after your session disconnects.
 
Old 06-21-2004, 10:46 PM   #5
DraZtiK
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
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.
 
Old 06-22-2004, 12:46 AM   #6
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Original Poster
Rep: Reputation: 15
That's a great idea! I don't have any experience with doing that, but I'll research it.
 
Old 06-22-2004, 05:17 AM   #7
Gnuru
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
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
 
Old 06-22-2004, 09:52 AM   #8
Irving
Member
 
Registered: May 2004
Distribution: Gentoo - KDE 3.2.2
Posts: 57

Original Poster
Rep: Reputation: 15
Wow, that's perfect!!! Thanks so much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Admin IllEatUrHeart Mandriva 1 09-06-2004 05:52 PM
remote admin epeus General 15 02-25-2003 11:33 PM
Remote Admin... kobe Linux - General 1 08-09-2002 08:52 AM
Remote admin? Ricardo77uk Linux - Networking 13 07-13-2001 01:05 PM
Remote admin. How? Q25 Linux - General 5 05-17-2001 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration