[TriLUG] Cleanly logging Ubuntu ssh client session

Aaron Morrison via TriLUG trilug at trilug.org
Thu Jan 25 15:23:48 EST 2024


Haven’t checked this with script binary, but if an ssh session needs a ptty for screen based stuff (like ncurses, etc), you may need to add the ‘-t’ option for ssh to create one. 

--am


> On Jan 25, 2024, at 14:52, Alan Sterger via TriLUG <trilug at trilug.org> wrote:
> 
> Assumed any screen output would be saved to a 'script file'. There was no tmux session.
> 
> Also assume if a terminal is required, I can use built-in Gnome Terminal.
> 
> Please advise.
> 
> -- Alan
> 
>> On 1/25/2024 2:28 PM, Cristóbal Palmer wrote:
>>> On Thu, Jan 25, 2024, at 11:14, Alan Sterger wrote:
>>> not the output of ls -l.  Why can't I see the output of ls -l?
>>> 
>> I'm not quite sure what to tell you. I literally did a webapp upgrade minutes ago in the manner I described... script inside a tmux session.
>> 
>> We would need more info to know why you got the result you did. What is the output of 'env' both before you call script and once you're inside the script? Once inside script, are you able to touch a file? Echo to that file? Cat that file? Once you exit, the file should still be there.
>> 
>> -CMP
>> 
> 
> --
> This message was sent to: Aaron Morrison <ae4ko1 at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web    : https://www.trilug.org/mailman/options/trilug/ae4ko1%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome


More information about the TriLUG mailing list