View previous topic :: View next topic |
Author |
Message |
BuBuaBu l33t


Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Wed Jan 25, 2006 1:58 pm Post subject: [ssh] Communiquer avec un user |
|
|
Voila, je voudrais pourvoir me conecter via ssh a une machine et ouvrir un dialog avec un user connecté.
J'arrive a envoyé un message a tout le monde via : wall "message"
Est-il possible que l'user reponde simplement ? |
|
Back to top |
|
 |
bibi.skuk Guru

Joined: 01 Aug 2005 Posts: 425
|
Posted: Wed Jan 25, 2006 2:02 pm Post subject: Re: [ssh] Communiquer avec un user |
|
|
BuBuaBu wrote: | Voila, je voudrais pourvoir me conecter via ssh a une machine et ouvrir un dialog avec un user connecté.
J'arrive a envoyé un message a tout le monde via : wall "message"
Est-il possible que l'user reponde simplement ? |
talk est ton ami... |
|
Back to top |
|
 |
BuBuaBu l33t


Joined: 09 Jul 2005 Posts: 914 Location: France
|
Posted: Wed Jan 25, 2006 2:05 pm Post subject: |
|
|
tu peu préciser ? |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Wed Jan 25, 2006 2:27 pm Post subject: |
|
|
talk necessite un daemon talkd, si tu veux faire plus simple, utilise simplement write
Code: | echo "salut toi" |write user |
_________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Enlight Advocate


Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Wed Jan 25, 2006 2:45 pm Post subject: |
|
|
souvenirs, souvenirs  |
|
Back to top |
|
 |
nuts Veteran


Joined: 10 Jan 2004 Posts: 1630
|
Posted: Wed Jan 25, 2006 3:14 pm Post subject: |
|
|
kernel_sensei wrote: | talk necessite un daemon talkd, si tu veux faire plus simple, utilise simplement write
Code: | echo "salut toi" |write user |
|
pkoi ne pas faire directement un write user... ? _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
 |
anigel Bodhisattva


Joined: 14 Apr 2003 Posts: 1894 Location: Un petit bled pas loin de Limoges ;-)
|
Posted: Wed Jan 25, 2006 3:16 pm Post subject: |
|
|
Code: | emerge net-misc/netkit-talk |
<optionnel> Tu peux préférer installer par exemple ytalk, une variante évoluée du talk d'origine, permettant des conférences à plus de 2 participants. Il en existe même une version X, avec une interface sommaire. Dans ce cas :
Puis, il faut activer ce service en éditant le fichier /etc/xinetd.d/talk, et en veillant à ce que le démon soit autorisé à démarrer (ligne disable = no). Ensuite on relance xinetd pour prendre en compte les modifications, et le tour est joué : tu peux maintenant utiliser la commande talk (ou ytalk) pour discuter avec tes amis. _________________ Il y a 10 sortes d'individus en ce bas-monde : ceux qui causent binaire, et les autres. |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Wed Jan 25, 2006 3:19 pm Post subject: |
|
|
bah, c'est juste que je trouve ca plus pratique que de devoir faire ctrl-d a chaque fois ^^ _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
nuts Veteran


Joined: 10 Jan 2004 Posts: 1630
|
Posted: Wed Jan 25, 2006 3:23 pm Post subject: |
|
|
kernel_sensei wrote: | bah, c'est juste que je trouve ca plus pratique que de devoir faire ctrl-d a chaque fois ^^ |
moi je fais juste entré et ca part, apres tu peux carement dialoguer dans un term sans te souler a faire des echo sans arret. enfin les gouts et les couleurs... _________________ nuts
PC: AMD Phenom 2 bi-core 555 + Asus M4A77T/USB3 + 2Go de RAM + wifi Ralink RT61 + Radeon HD 3450 - Disque dur 500Go.
SGI Octane ip30 R10000 |
|
Back to top |
|
 |
|