redial icon indicating copy to clipboard operation
redial copied to clipboard

Return to redial after exit ssh session

Open telefax opened this issue 5 years ago • 2 comments

Would it be possible to have redial launch again after you have exited your ssh session? You already have a state file so it would be pretty nice to return to where you left last time. I think this is a pretty expected behaviour when you work at scale.

Thanks :)

telefax avatar Jan 28 '20 08:01 telefax

Yeah, we already do that. Connect to some server and exit immidiaetly, you return to redial. But if you hit ctrl+c during your session, redial also exits. See #28

taypo avatar Jan 28 '20 10:01 taypo

Wow, it works now. For some reason, I typed exit earlier in my connected ssh session and just got back to shell. But now when I try it works. Odd. Now I can only reproduce this if I enter wrong password or dont supply ssh key, I get thrown back to shell.

Edit: Ok I see, I did a ctrl-c earlier after reading about that bug. But nothing happened so I could still type exit after that and first then got thrown out to shell :P

telefax avatar Jan 28 '20 10:01 telefax