I’ve opened ssh and it has gone into the tmux session opened in the other computer so now I see two tmux one inside another. Now I don’t know how to exit ssh. When I pressed Ctrl+D it closed a panel in the nested tmux session. When I tried to detach Ctrl+B D it closed the tmux session in my computer.

@OptimusPrime@lemmy.ml
creator
link
fedilink
02M

I ended up doing pkill sshd

I have no experience with tmux but maybe the basic exit command does the trick?

$ exit

@OptimusPrime@lemmy.ml
creator
link
fedilink
02M

That closed another panel

Linux Admin
!linux

    Ask specific questions about how to do something with linux

    General linux discussion on lemmy.ml

    Create Post From:
    lemmy.ml

    Community icon by Alpár-Etele Méder,
    licensed under CC BY 3.0

    • 0 users online
    • 2 users / day
    • 3 users / week
    • 3 users / month
    • 8 users / 6 months
    • 37 subscribers
    • 8 Posts
    • 13 Comments
    • Modlog