I'm trying to install openssh server on a router and need a MIPS compiled binary. I've downloaded the one from here but encounter an error upon extraction:$ sudo dpkg --unpack openssh-server_6.0p1-4+deb7u2_mips.deb dpkg: error processing openssh-server_6.0p1-4+deb7u2_mips.deb (--unpack): package architecture (mips) does not match system (amd64)Errors were encountered while processing: openssh-server_6.0p1-4+deb7u2_mips.debdpkg is also prompting me for administrative privileges which suggests that it's trying to install the package, not extract it. I cannot extract/install the .deb file on the router as it does not have dpkg or any package utility. I can only copy the server as is and issue a number of commands to create the appropriate directories and keys. What am I missing?
Unpacking a .deb file containing a MIPS binary
dpkg;deb
I've found the answer:dpkg -x openssh-server_6.0p1-4+deb7u2_mips.deb openssh_mips_outdir