Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have a CCTV camera DVR at work that only allows local login for DVR software management via a command line console (looks like a GUI you'd get on a serial console) or web login for viewing the cameras. I'd like to be able to SSH into it, but I don't know what flavor of *nix it is, nor can I login to a prompt to install packages. I can, however, remove the hard drive.

If I get the drive mounted on a separate machine such that I can copy files to it, would it be possible to copy config and executable files to it in order to have an SSH server?

share|improve this question

1 Answer 1

If you can access the device locally, use another machine on the network to port forward to the device, port 80 for web or 22 for ssh are generic. try

netcat -z <ip_address> 80 && echo TRUE || echo FALSE

to check if port 80 is open, swap 80 for 22 or whatever port to test.

If you have another machine on local network with ssh, to port forward do:

ssh [email protected] -L 50000:192.168.0.10:80
  • where 50000 is the local port you use to connect to remote device. eg for web in you browser you'd type localhost:50000 providing localhost is mapped to 127.0.0.1 in your hosts file

  • where 192.168.0.10 is the local ip address of camera device you want to connect to remotely

  • and 80 is the camera device's local port you want forward

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.