使用nohup在后台运行scp

对于scp的用法见:http://blog.haohtml.com/archives/10516

需要从远程拷贝一个比较大的文件,所以要让SCP在后台运行

google搜了一下都是说使用ssh的public key让两台机器可以不用密码连接

但不是每个人都有这个条件允许两台机器无密码通行的

所以可以使用下面的方法实现:

1.nohup scp user@server:path/file localpath

2.输入密码

3.按Ctrl+z挂起当前进程

4.使用命令bg让挂起的进程继续运行

32 thoughts on “使用nohup在后台运行scp

  1. Pingback: real estate for sale in Laguna Beach CA

  2. Pingback: 카지노사이트

  3. Pingback: ชอบชักดาบบ

  4. Pingback: Vermont cornhole

  5. Pingback: blog

  6. Pingback: website

  7. Pingback: Para Elly

  8. Pingback: ty le cuoc

  9. Pingback: elmo selfie frame

  10. Pingback: 바카라사이트

  11. Pingback: adpoint gmbh

  12. Pingback: replica tag heuer carrera black

  13. Pingback: DominoQQ

  14. Pingback: Study in Uganda

  15. Pingback: 4D2u

  16. Pingback: 바카라 쿠폰

  17. Pingback: 바카라 사이트 웹툰

  18. Pingback: 바카라

  19. Pingback: viagra on web

  20. Pingback: wong4d

  21. Pingback: online cialis

  22. Pingback: best price for generic viagra

  23. Pingback: can viagra 100mg be dangerous

  24. Pingback: buy maha pharma online

  25. Pingback: livedraw hk

  26. Pingback: keju qq

  27. Pingback: Coolsculpting

  28. Pingback: w88

  29. Pingback: cialis tablets

  30. Pingback: bitcoin era review 2020

  31. Pingback: Bitcoin Era Scammed You?

  32. Pingback: immediate edge

Comments are closed.