Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an IRC server running on my personal computer, and I use an ssh tunnel to connect to it from a more reliable box (i.e. one where my daughter can't reach the power button).

Occasionally the power will be cut from my box, causing the connection to drop. Irssi tries to reconnect to that server after a specified period - alternatively I can /rmreconns to stop it from reconnecting, and then manually /connect again. When I run /connect it seems to connect to my server twice. Once with the manual connection, and once when it reconnects on its own.

I find it really annoying to do /rmreconns, and then /connect localhost port

Is there a command I can run to force it to reconnect now? I haven't been able to find one, but I may be looking in the wrong place.

share|improve this question

1 Answer 1

Try using /reconnect. I use a similar configuration to you, and use this all the time.

share|improve this answer
    
It seems like that only reconnects the active server or servers that are currently connected... –  Wayne Werner Dec 18 '12 at 16:11
    
It takes an argument, for the server network you want to reconnect. Or you can hit ctrl-X to switch to the network you want to reconnect. –  jsbillings Dec 18 '12 at 16:24
    
If you pass ALL it will reconnect to all servers that are in the reconnect queue (the ones that would be removed if you ran /rmreconns) –  Michael Mrozek Dec 18 '12 at 17:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.