Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Thanks very much everybody!
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Thanks again,
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
Thanks one more time :-) and sorry to be such a blivet.
Knute Johnson wrote:
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
It works with PuTTY.
On Tue, 2007-05-01 at 08:05 +0530, Vivek J. Patankar wrote:
Knute Johnson wrote:
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
It works with PuTTY.
That is interesting. What would you expect it to do? -- ======================================================================= I don't want a pickle, I just wanna ride on my motorsickle. And I don't want to die, I just want to ride on my motorcy. Cle. -- Arlo Guthrie ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
On Mon, 2007-04-30 at 19:03 -0700, Knute Johnson wrote:
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
CTRL ALT F1, etc., are separate logins. So you may have to run multiple PuTTY clients. Alternatively, perhaps there's a way of configuring it to change what listens to the keyboard (what it pays attention to, what it passes through for the remote end to use).
Knute Johnson wrote:
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
man screen
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
What you want is 'Ctl-a d' to detach then 'screen -r' to reattach. (And possibly 'screen -l' to get a list of IDs if there's more than one.) It can do much cleverer things, but I've usually found that's enough and I have used it with PuTTY.
You could always tunnel VNC over SSH of course, but that may be a bit heavy duty depending on your purposes. It's certainly more bandwidth hungry.
Ian Malone wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
man screen
Well, I've got another hitch, I'm using PuTTY for an ssh client from my WinXP box. <CTRL-ALT-F?> just rings the bell and prints [1?~. Will it work with PuTTY or only with a Linux version of ssh?
What you want is 'Ctl-a d' to detach then 'screen -r' to reattach. (And possibly 'screen -l' to get a list of IDs if there's more than one.) It can do much cleverer things, but I've usually found that's enough and I have used it with PuTTY.
You could always tunnel VNC over SSH of course, but that may be a bit heavy duty depending on your purposes. It's certainly more bandwidth hungry.
Freenx and the free cross-platform NX client is the way to go for remote access to a GUI desktop - although the X vnc module can be handy if the desktop you want is the one already running on your console.
Knute Johnson wrote:
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Screen was installed by default on all my systems. I guess you'll have to yum it.
yum install screen
On 4/30/07, Knute Johnson knute@frazmtn.com wrote:
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Thanks again,
Yah, you kinda have to install it.
On 4/30/07, Knute Johnson knute@frazmtn.com wrote:
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Thanks again,
Yah, you kinda have to install it.
You are right, once you install it it works great!
Thanks very much for all the help.
On Mon, 2007-04-30 at 18:38 -0700, Knute Johnson wrote:
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
Thanks again,
-- Knute Johnson Molon Labe...
Does your system have screen installed. What does : which screen return. man screen exists if screen is installed. -- ======================================================================= A tall, dark stranger will have more fun than you. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
On Mon, 2007-04-30 at 18:38 -0700, Knute Johnson wrote:
Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
sure can
man screen
Neither my F7 test 4 box nor my FC5 server box have man screen. Just 'No manual page found'. I did find a reference on a FreeBSD box that I have a shell account on though.
"yum install screen".
---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens@internap.com - - VitalStream, Inc. http://www.vitalstream.com - - - - Grabel's Law: 2 is not equal to 3--not even for large values of 2. - ----------------------------------------------------------------------
The screen command can help here.
man screen
On 4/30/07, Knute Johnson knute@frazmtn.com wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Thanks very much,
-- Knute Johnson Molon Labe...
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Monday 30 April 2007 12:11, Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Use the "screen" command. In essence you would ssh to your target machine, issue the screen command, run your command, detach from the command by using the "<CTRL-a>,d" sequence, then exit from the target machine. Later you could ssh to your target machine, issue the "screen -list" to see your detached session(s) and issue the "screen -r <desired-session>" to reattach to the previously running session. See "man screen" for more details.
Regards, Mike Klinke
Mike Klinke wrote:
On Monday 30 April 2007 12:11, Knute Johnson wrote:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Use the "screen" command. In essence you would ssh to your target machine, issue the screen command, run your command, detach from the command by using the "<CTRL-a>,d" sequence, then exit from the target machine. Later you could ssh to your target machine, issue the "screen -list" to see your detached session(s) and issue the "screen -r <desired-session>" to reattach to the previously running session. See "man screen" for more details.
Or, if you'd rather do this in a GUI where you can see more than one open window at a time and the only reason you don't is that ssh works better over slow connections, try freenx and the NX client that you can download from http://www.nomachine.com. This lets you start a whole desktop that you can suspend and reconnect and it works very well over remote connections. You can, for example, start a bunch of things in different windows (perhaps even xterms ssh'd to a bunch of other computers), suspend the session, then reconnect from a different place (and perhaps a different client platform) and pick up with everything still running. And it can work where only ssh is allowed in. The initial start-up on a new connection is slower than screen of course since it has to draw the GUI screen, but it is very snappy after that and you can see all of the desktop windows at once if you were doing more than one thing, where with screen you would have to switch among them.
Knute Johnson escribió:
Is it possible to ssh to my computer, start a command line program, exit ssh and then come back later and ssh to the same command line program? How would I do that exactly?
Use screen.