LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   ssh putty closes automatically (https://www.linuxquestions.org/questions/general-10/ssh-putty-closes-automatically-916231/)

khanahmedabbas 11-29-2011 01:01 PM

ssh putty closes automatically
 
Hello all,

I have dedicated server on fdcservers and i logged into ssh using putty now i try to use scp command from remote server to another remote server and it downloads files correctly but after 20 to 30 minutes putty closes while downloading files automatically.

It doesnt give any message like session logout it simply closes putty.

My files are around 40 to 50 gb so i am using scp command

scp -r root@127.0.0.1:/home/admin/www/example.com example.com

Can you tell me how i must tell or change settings for putty not to close automatically while downloading files ?

Please suggest me as what to be done immediately.

Thanks.

mmidgett 11-29-2011 02:43 PM

Maybe you can try http://ocaoimh.ie/2008/12/10/how-to-...eout-problems/

khanahmedabbas 11-29-2011 02:46 PM

i dont know about linux i am newbie please post details step by step

like i login to ssh using putty then type a or b then ....etc step by step.

dont know much about servers.

Tinkster 11-29-2011 04:25 PM

Moved: This thread is more suitable in <GENERAL> as putty, a windows program closing, has little to do w/ Linux, and has been moved accordingly to help your thread/question get the exposure it deserves.

linuxlover.chaitanya 11-30-2011 05:15 AM

The link posted has step by step details. Please read the link provided with care and try to change the ssh settings as suggested.
Also, I would like to suggest you use Rsync for copying and backing up the data. It is faster than scp and will also copy only the contents that have changed since last rsync. This is something like incremental backup. Better option than scp to take remote backups and copying of files.


All times are GMT -5. The time now is 11:20 AM.