Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help wanted] do i have to install tsshd on my jump server #5

Open
isvicy opened this issue Sep 26, 2024 · 1 comment
Open

[help wanted] do i have to install tsshd on my jump server #5

isvicy opened this issue Sep 26, 2024 · 1 comment

Comments

@isvicy
Copy link

isvicy commented Sep 26, 2024

thank you for the great work, i am very willing to try out tssh in my workflow, but i need some help.
i have to use a jump server to access the dev server i use. i want to know, if i have to install tsshd and tssh on the jump server to use the udp mode as mosh.

and the tsshd and tss binary is built and install to a dir in my home directory, it could not be directly found in the login shell, so i need to specify the binary location in ssh config, how? btw, i also need to dynamic forward feature. here is an example ssh config i use:

Host jp-dev
    HostName hostname
    Port 3200
    User user 
    ProxyJump t-nix
    DynamicForward 1080
    GatewayPorts yes
    LogLevel QUIET
@lonnywong
Copy link
Member

Yes, you have to install tsshd and tssh on the jump server. Assuming you installed them in /home/you/bin/tssh and /home/you/bin/tsshd.

UDP mode is hard to work with ProxyJump and DynamicForward. You have to login to the jump server first, then use the Automated Interaction feature to login to target server.

Host jp-dev
    #!! UdpMode yes
    #!! TsshdPath /home/you/bin/tsshd
    HostName t-nix
    LocalForward 1080 127.0.0.1:1080
    #!! ExpectCount 1
    #!! ExpectPattern1 $
    #!! ExpectSendText1 /home/you/bin/tssh --udp --tsshd-path /home/you/bin/tsshd -p 3200 -D 1080 user@hostname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants