-
Notifications
You must be signed in to change notification settings - Fork 549
[Ssh Key File] ~ in filename will be replaced by _ in Chrome. #1574
Comments
@wangcan0329 can we provide a more efficient way to users by opening a console in webport and connect to the container? So users wouldn't need to download the key file and connect to the container manually. |
I don't think we should rely on filename auto-generating feature of browser / local file system. Instead of rename the URI of the key file I prefer add a notice like "Make sure your downloaded file named some-key". In the future, I propose providing a shell script includes current three commands and encourage user to use the commands like $ bash <(curl http://rest-server/v1/api/user/foo/jobs/bar/containers/baz/connect.sh) to connect the container, as well as giving the download link of key file as tech details. |
@DongZhaoYu Actually I had a simple test on web ssh tool but didn't get time to have a further investigation. I will consider to add this feature but I don't think this is high priority thing. |
@Gerhut Agree. We can consider to combine these three commands into one script. |
Chrome replace the tilde ~ with an underscore _ is by design to avoid potential filename issue on Windows . please refer to Character “~” will be automatically changed to “_” in filename during downloading by Chrome |
Can we detect whether the page is rendered by Chrome or not? if yes, we can show a warning in the page. |
we publish it as a known issue. |
PAI does not print the url anymore. |
Now we added namespace as prefix to the jobname and joint with ~, if we click private key the file will be downloaded but the ~ in file name will be replaced by _ automatically in Chrome. Which will cause the step 3 and 4 failed since the name changed.
The text was updated successfully, but these errors were encountered: