Hi, 

         I am trying to transfer a file from my laptop(local machine) to the Virtual Machine(Dunfell EMULATOR image runs on VM) installed on my laptop. I see the below error -

#scp gstaudsrvxx.c root@192.168.x.y:/home/root
Bad packet length 1950384454.
ssh_dispatch_run_fatal: Connection to 192.168.29.108 port 22: message authentication code incorrect
lost connection

  1. IP of local machine is also in the same series -192.168.a.b. So, both are in same network.
  2. ping works from local machine to VM  and vice versa.
  3. I am able to do SSH from local machine to VM.
  4. I see the below log when I ran scp with -v optiondebug1: Authentication succeeded (none).
    Authenticated to 192.168.29.108 ([192.168.29.108]:22).
    debug1: channel 0: new [client-session]
    debug1: Entering interactive session.
    debug1: pledge: network
    debug1: Sending environment.
    debug1: Sending env LANG = en_IN
    debug1: Sending command: scp -v -t /home/root
    Bad packet length 1368207525.
    ssh_dispatch_run_fatal: Connection to 192.168.29.108 port 22: message authentication code incorrect

I am unable to do a file transfer through "scp" command from local machine to VM. Can you please help me in finding what did I miss to setup?


  • No labels