Skip to content

Commit

Permalink
Add -C option to enable Compress
Browse files Browse the repository at this point in the history
* feat: enable compress when ssh connect. This is very useful when ssh x forwarding
  • Loading branch information
shenmo7192 authored Mar 11, 2023
1 parent c569f18 commit 51dd04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/other/ssh_login.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set port [lindex $argv 2]
set private_key [lindex $argv 3]
set password [lindex $argv 4]
set authentication {<<AUTHENTICATION>>}
set ssh_cmd {zssh -X -o ServerAliveInterval=60}
set ssh_cmd {zssh -X -C -o ServerAliveInterval=60}
set ssh_opt {$user@$server -p $port -o PubkeyAuthentication=$authentication}
set remote_command {<<REMOTE_COMMAND>>}
Expand Down

0 comments on commit 51dd04d

Please sign in to comment.