Andy Hester
2003-Oct-02 12:53 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
This probably has an easy solution, but I found it yet. How can I get out of a remote console after using ssh to get into the box, making changes, reload etc. without stopping *? Thanks in advance. Sincerely, Andy Hester Consero
Steven Critchfield
2003-Oct-02 13:02 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
On Thu, 2003-10-02 at 14:53, Andy Hester wrote:> This probably has an easy solution, but I found it yet. How can I get out > of a remote console after using ssh to get into the box, making changes, > reload etc. without stopping *?Not that it is clean or neat, but control-c is what I use. -- Steven Critchfield <critch@basesys.com>
Joseph Finley
2003-Oct-02 13:10 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
Simply run the /usr/src/asterisk/safe_asterisk And then type "/usr/sbin/asterisk -vvvgcr ^ "r" being remote console and then you can do everything as if you ran it directly and "exit" as you wish or "STOP NOW" to kill it. Regards, Joe -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Andy Hester Sent: Thursday, October 02, 2003 3:53 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Any way to get out of a remote console without stopping * This probably has an easy solution, but I found it yet. How can I get out of a remote console after using ssh to get into the box, making changes, reload etc. without stopping *? Thanks in advance. Sincerely, Andy Hester Consero _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Martin Pycko
2003-Oct-02 13:12 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
use quit or ctrl-D Martin On Thu, 2 Oct 2003, Andy Hester wrote:> This probably has an easy solution, but I found it yet. How can I get out > of a remote console after using ssh to get into the box, making changes, > reload etc. without stopping *? > > Thanks in advance. > > Sincerely, > Andy Hester > Consero > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
PJ Welsh
2003-Oct-02 13:20 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
on Thu, Oct 02, 2003 at 02:53:00PM -0500, Andy Hester wrote:> This probably has an easy solution, but I found it yet. How can I get out > of a remote console after using ssh to get into the box, making changes, > reload etc. without stopping *? > > Thanks in advance.Looks like "exit" will release you from the * console but not stop * from running when I start * with "asterisk -vvvc". Then "asterisk -r" to reconnect. I like to use the "screen" command to preface other console grabing prgs. screen -A -m -d -S asterisk asterisk -vvvc then screen -r asterisk connects you to the screen you just called "-S asterisk". You use key binding similar to minicom to do things... so to release your screen from running * while in a "screen" session (and not kill the *), just "<ctrl>+a" then hit "d" to detatch.
Andy Hester
2003-Oct-02 13:46 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
Wow look at the choices :) Thanks everyone for the info. I'll try them out. Sincerely, Andy Hester Consero (817)375-1244 (817)937-7977
Troy Settle
2003-Oct-02 13:53 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
> -----Original Message----- > From: Martin Pycko > Sent: Thursday, October 02, 2003 4:13 PM > > use quit or ctrl-D > > Martin >
Brian West
2003-Oct-02 13:58 UTC
[Asterisk-Users] Any way to get out of a remote console without stopping *
Or you can use safe_asterisk to start * then asterisk -r to connect bkw On Thu, 2 Oct 2003, PJ Welsh wrote:> on Thu, Oct 02, 2003 at 02:53:00PM -0500, Andy Hester wrote: > > This probably has an easy solution, but I found it yet. How can I get out > > of a remote console after using ssh to get into the box, making changes, > > reload etc. without stopping *? > > > > Thanks in advance. > > Looks like "exit" will release you from the * console but not stop * from running when I start * with "asterisk -vvvc". Then "asterisk -r" to reconnect. > > I like to use the "screen" command to preface other console grabing prgs. > > screen -A -m -d -S asterisk asterisk -vvvc > > then > > screen -r asterisk > > connects you to the screen you just called "-S asterisk". > > You use key binding similar to minicom to do things... so to release your screen from running * while in a "screen" session (and not kill the *), just "<ctrl>+a" then hit "d" to detatch. > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >