Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Remote Login

sir ,

     i m working on a  project linux networking.


        say , there r 2 computers A & B  works on
Red Hat 9 version.

       There is a server program in each system.
It loads as a daemon.
There r many client programs which asks for services from one to another .Server process request and send back result .The whole network is  done by berkely socket() .. functions .

i  know that in linux before login prompt appears
all the daemons and network setup etc are loaded
or initialised .
 
      suppose i m working on system A . system
B is at Login Prompt. both server in systems
r working.
     

 my question:->
*************
      i want to control getty process on system B
from system A .

 

     
0
karana
Asked:
karana
  • 2
2 Solutions
 
karlwilburCommented:
What do you want to do with the getty processes?  Are you trying to restart them? stop them? kill them? start more?

The login prompts are using getty.  These were started by init (see /etc/inittab).  That's why you can login in:-).

I thin that I'll need more data from you as to what you are trying to do.

-Karl
0
 
karanaAuthor Commented:
a daemon is running . i want   to open a terminal say tty1 in B from A
0
 
ipuschnerCommented:
How about SSH?! You can login over IP and it's safe.
0
 
karlwilburCommented:
Yeah, SSH.  ipuschner is right.

Make sure that the sshd is running on the host system (the ssh "server")then from the client, type:

ssh username@hostname

or

ssh username@hostipaddress

this gets you a session on the host box and you can execute commands just as if you were sitting at the console, mostly.  You might want to learn about nohup.

-Karl
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now