Difference between revisions of "Irssi With SSH/Screen"

From Amahi Wiki
Jump to: navigation, search
 
Line 1: Line 1:
<strong><i>Using irssi with ssh/screen.</i>
 
  
To do this, first you need screen installed on your HDA.</strong>
+
To use irssi with ssh/screen, first you need screen installed on your HDA.
  
 
For Fedora:
 
For Fedora:
<code>sudo yum -y install screen</code>
+
 
 +
    sudo yum -y install screen
  
 
For Ubuntu:
 
For Ubuntu:
<code>sudo aptitude install screen</code>
 
  
<strong>After that, log into the server using the ssh client you're fond of, (logged in as user) do:</strong>
+
    sudo aptitude install screen
 +
 
 +
After that, log into the server using the ssh client you're fond of, (logged in as user) do:
  
<code>screen irssi</code>
+
    screen irssi
  
<strong>That will start irssi in screen.
+
That will start irssi in screen.
  
 
After that, run the commands to sign into your favorite irc chat server/channel.
 
After that, run the commands to sign into your favorite irc chat server/channel.
Line 19: Line 20:
 
After you close this, dont exit, just click the "x" in the top right corner.
 
After you close this, dont exit, just click the "x" in the top right corner.
  
The next time you want to use it, just log into your ssh client, then do:</strong>
+
The next time you want to use it, just log into your ssh client, then do:
  
<code>screen -A -R -DD</code>
+
    screen -A -R -DD
  
<strong>and it will bring the chat client back up.
+
and it will bring the chat client back up.
  
 
This way you never lose your chat info.
 
This way you never lose your chat info.
Line 29: Line 30:
 
<i>NOTE: when your server is restarted by reboot/power outage or whatever it might be, you will have to go through the steps again. But as long as the server is up and running, you will be set.</i>
 
<i>NOTE: when your server is restarted by reboot/power outage or whatever it might be, you will have to go through the steps again. But as long as the server is up and running, you will be set.</i>
  
So bookmark this page.</strong>
+
So bookmark this page.

Latest revision as of 00:34, 20 May 2009

To use irssi with ssh/screen, first you need screen installed on your HDA.

For Fedora:

   sudo yum -y install screen

For Ubuntu:

   sudo aptitude install screen

After that, log into the server using the ssh client you're fond of, (logged in as user) do:

   screen irssi

That will start irssi in screen.

After that, run the commands to sign into your favorite irc chat server/channel.

After you close this, dont exit, just click the "x" in the top right corner.

The next time you want to use it, just log into your ssh client, then do:

   screen -A -R -DD

and it will bring the chat client back up.

This way you never lose your chat info.

NOTE: when your server is restarted by reboot/power outage or whatever it might be, you will have to go through the steps again. But as long as the server is up and running, you will be set.

So bookmark this page.