With these changes the update to LD_LIBRARY_PATH doesn't return an error and runs openssh.
Without it, the LD_LIBRARY_PATH returns an error:
Quote:
Privilege separation user sshd does not exist
When I put these commands in the startup section of the web interface, or run from the Command interface, the LD_LIBRARY_PATH command doesn't run, and must be run manually from SSH.
Considering that wiki hasn't been updated in nearly 4 years, there is no telling what changes may affect it's usefulness.
Quote:
This page was last modified 18:18, 19 November 2017
Yes, however afaik it's the last detailed advice I could find. After many attempts I got OpenSSH working and as I don't have an account to edit the Wiki I'll post my resolution here in the hope that it helps the next person who has problems getting OpenSSH to work. Or me in a future life.
I'm running Firmware: DD-WRT v3.0-r44719 std (11/04/20) on a Linksys EA8500. StrictChecking is enabled for OpenSSH on my Ubuntu 20.04 client.
I wanted to specify a different port to 22 for Dropbear and OpenSSH, say 31883, and replace Dropbear with OpenSSH, which requires stopping Dropbear then starting OpenSSH. This has to be done by the Startup file in the Commands section of Administration.
Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Sun May 16, 2021 3:39 Post subject:
What problem were you trying to solve? Secure file transfers to the router? I was thinking larger picture as to why you'd want openssh on the router vs. dropbear. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Considering that wiki hasn't been updated in nearly 4 years, there is no telling what changes may affect it's usefulness.
Quote:
This page was last modified 18:18, 19 November 2017
Yes, however afaik it's the last detailed advice I could find. After many attempts I got OpenSSH working and as I don't have an account to edit the Wiki I'll post my resolution here in the hope that it helps the next person who has problems getting OpenSSH to work. Or me in a future life.
I'm running Firmware: DD-WRT v3.0-r44719 std (11/04/20) on a Linksys EA8500. StrictChecking is enabled for OpenSSH on my Ubuntu 20.04 client.
I wanted to specify a different port to 22 for Dropbear and OpenSSH, say 31883, and replace Dropbear with OpenSSH, which requires stopping Dropbear then starting OpenSSH. This has to be done by the Startup file in the Commands section of Administration.
Thanks man, this worked in Jun 2021 with my Firmware: DD-WRT v3.0-r45928 std (03/06/21) on a R8500
Used to have sftp working under dropbear and a different port but not working for some reason, your method working fine here, saved me time. _________________ Netgear R8500