verygenericname / SSHRD_Script

Shell script that creates a ssh ramdisk
BSD 3-Clause "New" or "Revised" License
420 stars 164 forks source link

SFTP not working on 12.5.7: "/usr/lib/libresolv.9.dylib: missing LC_DYLD_INFO load command" #267

Open SpookDome opened 1 year ago

SpookDome commented 1 year ago

Any attempt to use commands like scp, sftp etc. results with the following:

dyld: Library not loaded: /usr/lib/libresolv.9.dylib
  Referenced from: /usr/libexec/sftp-server
  Reason: no suitable image found.  Did find:
    /usr/lib/libresolv.9.dylib: missing LC_DYLD_INFO load command
    /usr/lib/libresolv.9.dylib: missing LC_DYLD_INFO load command
    /usr/lib/libresolv.9.dylib: missing LC_DYLD_INFO load command
    /usr/lib/libresolv.9.dylib: missing LC_DYLD_INFO load command
Connection closed

My device is iPod touch 6, the SSH Ramdisk is based on iOS 12.5.7

patrickgill commented 1 year ago

Same error here iOS 12.4.7 running on iPhone 6 Plus (iPhone7,1)

Can't SFTP in either

mast3rz3ro commented 11 months ago

Try the ssh bin from here it's should work.