6

推荐一款 ssh 终端

 3 years ago
source link: https://www.v2ex.com/t/776285
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
推荐一款 ssh 终端

cheng6563   18 小时 59 分钟前

xshell5

saltbo   18 小时 51 分钟前   10

iterm2 cmd+shift+i

Xhack   18 小时 45 分钟前

xshell6

blueorange   18 小时 45 分钟前

谢谢各位了 我都去看看

syuraking   18 小时 43 分钟前

xshell5 和 6 都可以,7 真的难用

aaa5838769   18 小时 41 分钟前

xshell6

ice2016   18 小时 39 分钟前

xshell7SecureCRT 7.1

0bit   18 小时 35 分钟前

感觉你是不是更想要 Ansible 之类的?

pakro888   17 小时 37 分钟前

xshell termius

blueorange   17 小时 26 分钟前 via Android

@0bit 感觉复杂了

Beebird   16 小时 53 分钟前   7

还可以在 tmux 中分割 pane,然后 setw synchronize-panes on,可以实现当前 windows 中的所有 pane 同步输入

codyfeng   13 小时 4 分钟前

@Beebird #13 原来还有这种操作,太 666 了。tmux 重度使用者表示感谢分享

ijrou   10 小时 57 分钟前 via Android

xshell

codingadog   4 小时 14 分钟前   2

mobaxterm

MeiJiayun   3 小时 44 分钟前 via iPhone   2

if windows mobaxterm+1

archean   3 小时 41 分钟前

@saltbo 感谢分享,但如何取消这个状态呢?

liuliancao   3 小时 26 分钟前

#!/usr/bin/env bash
# usage: ssh-multi for tmux by liuliancao at 2021/04/22 v1.
# a script to ssh multiple servers over multiple tmux panes
while getopts p:u:f: OPTION
do
case $OPTION in
p)PORT=$OPTARG;;
u)USER=$OPTARG;;
f)FILE=$OPTARG;;
?)echo "use ssh-multi -p $PORT -u $USER -f ssh-hosts-file" && exit 1;;
esac
done
index=-1

# split window to ssh
cat $FILE | while read host; do
index=$(($index + 1))
#if in tmux
if [[ -z $TMUX ]];then
in_tmux=0
[[ $index -eq 0 ]] && tmux new-session -d "ssh -p $PORT $USER@$host" && continue
tmux split-window -h "ssh -p $PORT $USER@$host"
# if not
else
in_tmux=1
[[ $index -eq 0 ]] && tmux new-window -n "ssh-multi" "ssh -p $PORT $USER@$host" && continue
tmux split-window -t "ssh-multi" "ssh -p $PORT $USER@$host"
fi
tmux select-layout tiled
done

tmux set-window-option synchronize-panes on

[[ in_tmux -eq 0 ]] && tmux a

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK