SFTP to /CDROM failed ?

  • sftp -P2222 xxx@46.38.225.190

    xxx@46.38.225.190's password:

    Connected to 46.38.225.190.

    sftp> ls

    cdrom image

    sftp> cd cdrom

    sftp> ls

    sftp> version

    SFTP protocol version 3

    sftp> pwd

    Remote working directory: /cdrom

    sftp> put /media/sf_move/yyy-RELEASE-amd64.img

    Uploading /media/sf_move/yyy-RELEASE-amd64.img to /cdrom/yyy-RELEASE-amd64.img

    remote open("/cdrom/yyyy-RELEASE-amd64.img"): Permission denied

    sftp> Connection to 46.38.225.190 closed by remote host.

  • I think .img is not allowed, have to be .iso ?

    Yep. Just rename the file :)

    Code
    550 test.img: Forbidden filename

    In case it's an HDD image, upload it to image directory.

    "Wer nur noch Enten sieht, hat die Kontrolle über seine Server verloren." (Netzentenfund)

    Einmal editiert, zuletzt von KB19 ()