Have you ever been distressed because there are too many servers to remember, and your favorite ssh terminal has no server management function?
tssh v0.1.1 has implemented the basic functions commonly used by ssh clients (except ssh port forwarding), and all ssh functions used by ordinary people have been supported. You are welcome to try it out.
Two additional features (highlights):
1. Support to select (search) ~/.ssh/config
the server and log in. It is equivalent to the built-in server management function of tssh, and the operation mode similar to vim does not need to use the mouse.
2. tssh has built-in support for trzsz ( trz / tsz ) , which is very useful on the Windows platform and solves the problem of slow upload speed. trzsz ssh
GitHub:https://github.com/trzsz/trzsz-ssh
Gitee:https://gitee.com/trzsz/tssh
## installation method
-
Install directly with go (requires go 1.20 or above)
go install github.com/trzsz/trzsz-ssh/cmd/tssh@latest
After installation,
tssh
the program is generally located in~/go/bin/
the directory (Windows is generally inC:\Users\your_name\go\bin\
). -
Download the applicable release directly from Releases .
Instructions
~/
Represents the HOME directory. On Windows, ~/
replace with C:\Users\your_name\
.
-
Generate a key pair on the client, generally stored
~/.ssh/
under :ssh-keygen -t rsa -b 4096
Generate RSA, private key~/.ssh/id_rsa
, public key~/.ssh/id_rsa.pub
.
-
Log in to the server, and append the public key (that is, the content of the file
*.pub
with the suffix ) into~/.ssh/authorized_keys
the file on the server.One line represents a client's public key, pay attention to set the correct permissions
chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys
. -
Configure
~/.ssh/config
the file , for example:
Host alias1
HostName 192.168.0.1
Port 22
User your_name
Host alias2
HostName 192.168.0.2
Port 22
User your_name
-
Use
tssh
the command to log in to the server, and the command to log in to the corresponding server intssh alias1
.~/.ssh/config
alias1
tssh
The command does not have parameters, you can search and select the server configured~/.ssh/config
in and log in.