0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

sshとtmux aをワンライナーで

Posted at

引用元

Reattach with:

ssh -t server tmux attach

①mac -> ②踏み台(tmux実行する)サーバ -> ③いじりたいサーバ
とあった場合、
①macで、以下のコマンドたたけば良いです。

ssh -t user_name@踏み台サーバ tmux attach

もう、sshで②踏み台(tmux実行する)サーバにつないでからtmux a ってしなくていいです。

便利。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?