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
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
creator
link
fedilink
02M

That closed another panel

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
  • 1 user / day
  • 2 users / week
  • 2 users / month
  • 6 users / 6 months
  • 15 subscribers
  • 6 Posts
  • 8 Comments
  • Modlog