Page 1 of 1

several common linux CLI commands unavailable

Posted: Sat May 06, 2017 6:06 pm
by jayray
At the moment I'm trying to generate SSH keys. However, typing "ssh-keygen" from a terminal session to my router returns this error:

-ash: ssh-keygen: not found

Other commands return the same error. A couple examples:

man
sudo (granted I think this one is mostly unnecessary since sudo is implied?)

There have been others not found over the weeks which I can't remember off the top of my head.

Any idea what's gone off track here? Are these not installed perhaps? Or maybe gargoyle is unaware of the environment path to these commands? I'm fairly new to linux so I'd be grateful for any noob-friendly advice.

Thanks,
Jason

Re: several common linux CLI commands unavailable

Posted: Sat May 06, 2017 6:16 pm
by Lantis
You're working with embedded systems. There isn't enough room to include everything.
The essentials for the firmware are available.

You should be generating ssh keys on another system and transferring them to the router.

Be aware that other commands which do work may behave slightly differently on Gargoyle e.g. Clipped output, less input switches

Re: several common linux CLI commands unavailable

Posted: Sat May 06, 2017 8:24 pm
by jayray
Ah, thank you, Lantis. I'll make them elsewhere.