Every time I use the bastion machine, I will encounter file transfer problems, so I wrote it down and recorded it. From personal experience, the scp command is not easy to use. It seems that I need to write a config to get all the bastion machine information, but I have tried many times to no avail. .
Local cmd input under Windows system
scp -r xx@xxx:/cm/home/xx/archive/retinaface/weights/mobilenet0.25_epoch_95.pth D:/weight/
Error Connection timed out
solution
Enter sz xx in ssh and
a window will pop up allowing you to choose the save address.