scp command line for cr.openjdk.org

Chen Liang chen.l.liang at oracle.com
Thu Oct 31 19:31:26 UTC 2024


Hello,
In the introduction of the cr server at https://openjdk.org/groups/web/crServer.html (redirected from https://cr.openjdk.org/), the example command line of scp is insufficient.  Sometimes, when users are using a modern scp client, we need to add an additional -O flag.  For example:

$ scp -r 8343251-apidiff liach at cr.openjdk.org:
##############################################################
      Welcome to the OpenJDK CR prod Server
##############################################################
scp: realpath ./8343251-apidiff: No such file
scp: upload "./8343251-apidiff": path canonicalization failed
scp: failed to upload directory 8343251-apidiff to .
$ scp -O -r 8343251-apidiff liach at cr.openjdk.org:
##############################################################
      Welcome to the OpenJDK CR prod Server
##############################################################
copy.svg                                      100%  845    11.4KB/s   00:00
link.svg                                      100% 1100    12.7KB/s   00:00
stylesheet.css                                100%   36KB 209.1KB/s   00:00
x.png                                         100%  394     5.2KB/s   00:00

I believe we can add this little tip so people won't have to look around online for a solution when they encounter the same issue.

Regards,
Chen Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/web-discuss/attachments/20241031/386be34f/attachment-0001.htm>


More information about the web-discuss mailing list