-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(protal-web): 文件管理会因为sftp消息过长报500错误 (#957)
## 前提:在.bashrc文件中输入较长的欢迎语 ![image](https://github.com/PKUHPC/SCOW/assets/74037789/c32f1d1c-e7ca-4954-b26b-c1caa51c0706) ## 之前:文件管理和交互式应用(只要涉及ssh连接的地方都有这个问题)因为使用sftp获取家目录,如果欢迎语过多,会导致sftp消息过长报500错误。 ![image](https://github.com/PKUHPC/SCOW/assets/74037789/1fc54f28-bd54-476e-8dbb-a85b4d2aeea1) ## 现在:捕获了这个错误,并提示用户缩减欢迎语。 ![image](https://github.com/PKUHPC/SCOW/assets/74037789/0ca3f6e3-f4ed-4c52-97ee-95c936431f52)
- Loading branch information
Showing
7 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@scow/portal-web": patch | ||
"@scow/lib-ssh": patch | ||
--- | ||
|
||
sshConnect 时,提示语过长会使得连接失败,现在捕获了这个错误并提示用户 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters