141 reputation
4
bio website
location
age
visits member for 2 years, 4 months
seen 18 hours ago

Aug
30
accepted End Reverse SSH session
Aug
27
comment End Reverse SSH session
Good point, but you're right that in my particular case, with only 1 connection at a time this will work. Thanks for the heads up though, perhaps if I get some time I'll work on figuring out more specific solution.
Aug
26
answered End Reverse SSH session
Aug
26
comment End Reverse SSH session
What I've got working now, and I guess this is the easiest way to do it, is from the server, after having connected via the command above, I run kill $(pidof ssh) and that ends the sessions and frees up the port.
Aug
26
comment End Reverse SSH session
If i'm SSH'd directly into the machine (I have a test machine locally) and I run ps, I can see ssh running. However if from the server I ssh into the open tunnel and run ps, I don't see SSH running, therefore have nothing to kill.
Aug
26
asked End Reverse SSH session
Jul
25
awarded  Teacher
Jul
25
accepted Run hardcopy on a specific screen window
Jul
25
answered Run hardcopy on a specific screen window
Jul
24
awarded  Scholar
Jul
24
accepted Have a txt file keep it's line breaks after being send over FTP via Curl
Jul
24
comment Have a txt file keep it's line breaks after being send over FTP via Curl
Thanks for this! lftp would be handy, but I'm actually working on a BeagleBone and it isn't available. Since I'm trying to automate some of the setup process, downloading and making the file (which is possible) isn't ideal. I don't have unix2dos either, but I tried this code which worked: awk '{printf("%s\r\n",$0)}' hardlog.log > doslog.log
Jul
23
awarded  Supporter
Jul
23
comment Have a txt file keep it's line breaks after being send over FTP via Curl
Thanks for this, you're correct (as was Hennes above) that I'm going from Linux to Windows. I tried your code and unfortunately the newlines weren't formatted correctly. I do have Notepad++, but as I'd like to automate the processing of these files, it would be nice to find a way to prep them beforehand.
Jul
23
asked Have a txt file keep it's line breaks after being send over FTP via Curl
Jul
22
asked Run hardcopy on a specific screen window
Jan
14
comment Numbering in MS word turned into black boxes
Sorry, missed this over the holidays. Standard font, Calibri I think. User definitely has the same font.
Dec
19
awarded  Student
Dec
19
asked Numbering in MS word turned into black boxes
Nov
21
comment What kind of connector is this?
Yes, I do, but I think it is in the 9pin end. So if I buy one, and cut off the USB end, I should be OK. As long as I can track down this connector!