{"id":791,"date":"2013-08-01T00:00:00","date_gmt":"2013-08-01T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2013\/08\/01\/why-does-scp-file-transfer-fail-but-there-is-no-error\/"},"modified":"2023-01-06T16:47:36","modified_gmt":"2023-01-06T16:47:36","slug":"why-does-scp-file-transfer-fail-but-there-is-no-error","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/General\/why-does-scp-file-transfer-fail-but-there-is-no-error.html","title":{"rendered":"SCP File Transfer Fails but No Error Message is Shown"},"content":{"rendered":"
When using scp to copy a file the file fails to transfer, however there is no error message.<\/p>\n
This issue can occur due echo commands within your .bashrc and how the scp program handles the output from these commands. This is a known\u00a0bug within scp which can be viewed here<\/a>.<\/p>\n To resolve this the following can be added to the top of your .bashrc file.<\/p>\n Issue When using scp to copy a file the file fails to transfer, however there is no error message. Solution This issue can occur due echo commands within your .bashrc and how the scp program handles the output from these commands. This is a known\u00a0bug within scp which can be viewed here. To resolve this … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"yoast_head":"\n# If not running interactively, don't do anything\r\n[[ $- == *i* ]] || return<\/pre>\n","protected":false},"excerpt":{"rendered":"