this post was submitted on 14 Feb 2024
5 points (77.8% liked)
DevOps
1670 readers
2 users here now
DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.
Rules:
- Posts must be relevant to DevOps
- No NSFW content
- No hate speech, bigotry, etc
- Try to keep discussions on topic
- No spam of tools/companies/advertisements
- It’s OK to post your own stuff part of the time, but the primary use of the community should not be promotional content.
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
To join or create a session in tmux try:
tmux new -As mysession
. The-A
makes new attach to a session if it already exists.Using a proxyjump host in ssh doesn't quite work like that. It effectively logs into the jump host, then forwards a port to the target server and logs you in via that. So you need to put the public key from your machine in the
authorized_keys
file on both the jump hosts (jump1 and jump2) and the target server (login1).Let me know if that's not clear, I'm not sure I interpreted your question correctly.
Thanks! That worked. Didn't know about the "-A" option for new.