954,249 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

red hat

hi! is it possible to chat or to talk to someone using "OPEN TERMINAL" in redhat if will take in to consideration that there is a LAN connection between them?

coud_ren_26
Junior Poster in Training
67 posts since Aug 2009
Reputation Points: -1
Solved Threads: 0
 

There's a nice trick :cool: that I used to use for the purpose.

U can do the following to chat with ur friends from different terminals form remote systems using LAN.

1. Connect to the remote PC using SSH
2. Use ps command (ps -aux) to check which terminal the other person is using.
(it will come as pts/0, pts/1 likewise under the TTY category)
3. Next use the echo command to print text message to that terminal (what the other person is using)
echo "Hi coud_ren_26... How r u ???" >> /dev/pts/0

This will redirect the echo message to ur friends terminal. Similarly he can use the same process to reply back to ur terminal.

Cheers ;)

kings_mitra
Junior Poster
122 posts since May 2009
Reputation Points: 9
Solved Threads: 23
 

Thank you I keep on thinking what to use now I remembered "ssh". So it means that it is also possible for me to shutdown or restart the computers that belongs to my network?

coud_ren_26
Junior Poster in Training
67 posts since Aug 2009
Reputation Points: -1
Solved Threads: 0
 

You can also use 'talk'.

Fewt
Newbie Poster
8 posts since Jun 2010
Reputation Points: 10
Solved Threads: 1
 
Thank you I keep on thinking what to use now I remembered "ssh". So it means that it is also possible for me to shutdown or restart the computers that belongs to my network?

U can run commands on the network systems as per the priviledges given for the user with which you are logging in. So, if you login as 'root' (priviledged user) then definitely u can run any commands including shutdown.
We can even permanently enable a system to login to another in the network through SSH without any requirement of authentication:icon_wink: by using SSH private-public key pair.

Anywaz, mark the thread as solved if ur doubt is cleared.

kings_mitra
Junior Poster
122 posts since May 2009
Reputation Points: 9
Solved Threads: 23
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: