3
Contributors
4
Replies
6
Views
7 Years
Discussion Span
Last Post by kings_mitra
1

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 ;)

Votes + Comments
great it works!
0

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?

0

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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.